Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243256
b: refs/heads/master
c: 72f4905
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and David S. Miller committed Mar 29, 2011
1 parent dd72aa6 commit 872e165
Show file tree
Hide file tree
Showing 2 changed files with 12 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: bc8d7da3f19191f86dcc8274cf1a3f2d6aeb0aaa
refs/heads/master: 72f49050ba18959472aac723cd9d094bc3547e89
13 changes: 11 additions & 2 deletions trunk/drivers/net/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1237,8 +1237,17 @@ static int bfin_mac_enable(struct phy_device *phydev)

if (phydev->interface == PHY_INTERFACE_MODE_RMII) {
opmode |= RMII; /* For Now only 100MBit are supported */
#if (defined(CONFIG_BF537) || defined(CONFIG_BF536)) && CONFIG_BF_REV_0_2
opmode |= TE;
#if defined(CONFIG_BF537) || defined(CONFIG_BF536)
if (__SILICON_REVISION__ < 3) {
/*
* This isn't publicly documented (fun times!), but in
* silicon <=0.2, the RX and TX pins are clocked together.
* So in order to recv, we must enable the transmit side
* as well. This will cause a spurious TX interrupt too,
* but we can easily consume that.
*/
opmode |= TE;
}
#endif
}

Expand Down

0 comments on commit 872e165

Please sign in to comment.