Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103115
b: refs/heads/master
c: 0caa116
h: refs/heads/master
i:
  103113: e5425fe
  103111: d26a9d6
v: v3
  • Loading branch information
Nobuhiro Iwamatsu authored and Jeff Garzik committed Jun 28, 2008
1 parent e52fd26 commit b0de9d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b45f87681e2851f0c991a589989daa6a4a351565
refs/heads/master: 0caa11663cbfc55209fd3ccab6afab2708bb44fd
4 changes: 2 additions & 2 deletions trunk/drivers/net/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ static int sh_eth_dev_init(struct net_device *ndev)
ctrl_outl((FIFO_SIZE_T | FIFO_SIZE_R), ioaddr + FDR);
ctrl_outl(0, ioaddr + TFTR);

ctrl_outl(RMCR_RST, ioaddr + RMCR);
ctrl_outl(0, ioaddr + RMCR);

rx_int_var = mdp->rx_int_var = DESC_I_RINT8 | DESC_I_RINT5;
tx_int_var = mdp->tx_int_var = DESC_I_TINT2;
Expand Down Expand Up @@ -994,7 +994,7 @@ static int sh_mdio_init(struct net_device *ndev, int id)
/* Hook up MII support for ethtool */
mdp->mii_bus->name = "sh_mii";
mdp->mii_bus->dev = &ndev->dev;
mdp->mii_bus->id = id;
mdp->mii_bus->id[0] = id;

/* PHY IRQ */
mdp->mii_bus->irq = kmalloc(sizeof(int)*PHY_MAX_ADDR, GFP_KERNEL);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/sh_eth.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
#define PKT_BUF_SZ 1538

/* Chip Base Address */
#define SH_ETH0_BASE 0xA7000000
#define SH_ETH1_BASE 0xA7000400
#define SH_TSU_ADDR 0xA7000804

/* Chip Registers */
Expand Down Expand Up @@ -462,3 +460,5 @@ static void swaps(char *src, int len)
*p = swab32(*p);
#endif
}

#endif

0 comments on commit b0de9d7

Please sign in to comment.