mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
r8169: revert bogus BMCR reset
Added during bf793295e1
The current code requests a reset but prohibits autoneg, 1000 Mb/s,
100 Mb/s and full duplex. The 8168 does not like it at all.
Signed-off-by: Francois Romieu <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
874183072d
commit
9e0db8ef4a
1 changed files with 2 additions and 2 deletions
|
|
@ -572,8 +572,8 @@ static void rtl8169_xmii_reset_enable(void __iomem *ioaddr)
|
|||
{
|
||||
unsigned int val;
|
||||
|
||||
mdio_write(ioaddr, MII_BMCR, BMCR_RESET);
|
||||
val = mdio_read(ioaddr, MII_BMCR);
|
||||
val = mdio_read(ioaddr, MII_BMCR) | BMCR_RESET;
|
||||
mdio_write(ioaddr, MII_BMCR, val & 0xffff);
|
||||
}
|
||||
|
||||
static void rtl8169_check_link_status(struct net_device *dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue