]> err.no Git - linux-2.6/commitdiff
phy layer: fix genphy_setup_forced (don't reset)
authorDomen Puncer <domen.puncer@telargo.com>
Fri, 17 Aug 2007 06:54:45 +0000 (08:54 +0200)
committerJeff Garzik <jeff@garzik.org>
Sat, 25 Aug 2007 06:31:02 +0000 (02:31 -0400)
Writing BMCR_RESET bit will reset MII_BMCR to default values. This is
clearly not what we want.

Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/phy/phy_device.c

index a8b74cdab1ea2793b9f30822b416f652f883b521..e275df8c55bc64d2168ee62c0a946baf1fd4a6d2 100644 (file)
@@ -364,7 +364,7 @@ EXPORT_SYMBOL(genphy_config_advert);
  */
 int genphy_setup_forced(struct phy_device *phydev)
 {
-       int ctl = BMCR_RESET;
+       int ctl = 0;
 
        phydev->pause = phydev->asym_pause = 0;