Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111835
b: refs/heads/master
c: c1d6993
h: refs/heads/master
i:
  111833: 72d2047
  111831: 599605d
v: v3
  • Loading branch information
Florian Fainelli authored and Jeff Garzik committed Sep 24, 2008
1 parent ed30f83 commit 9e5037e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 31b760202a0911384fa07796df9d1905e9e89a7f
refs/heads/master: c1d69937ee5818bcde3bed8c012c9f07d60e492e
4 changes: 2 additions & 2 deletions trunk/drivers/net/r6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ static void r6040_init_mac_regs(struct net_device *dev)
/* Reset internal state machine */
iowrite16(2, ioaddr + MAC_SM);
iowrite16(0, ioaddr + MAC_SM);
udelay(5000);
mdelay(5);

/* MAC Bus Control Register */
iowrite16(MBCR_DEFAULT, ioaddr + MBCR);
Expand Down Expand Up @@ -806,7 +806,7 @@ static void r6040_mac_address(struct net_device *dev)
iowrite16(0x01, ioaddr + MCR1); /* Reset MAC */
iowrite16(2, ioaddr + MAC_SM); /* Reset internal state machine */
iowrite16(0, ioaddr + MAC_SM);
udelay(5000);
mdelay(5);

/* Restore MAC Address */
adrp = (u16 *) dev->dev_addr;
Expand Down

0 comments on commit 9e5037e

Please sign in to comment.