diff options
author | Domen Puncer <domen.puncer@telargo.com> | 2007-08-17 08:54:45 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-08-25 02:31:02 -0400 |
commit | bc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7 (patch) | |
tree | 38ce820cda8cff12b6ba69fb209f240fba3f37aa /drivers/net | |
parent | 09e06f652d86d358583df0b601c0c4d11923dd88 (diff) | |
download | op-kernel-dev-bc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7.zip op-kernel-dev-bc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7.tar.gz |
phy layer: fix genphy_setup_forced (don't reset)
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/phy/phy_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index a8b74cd..e275df8 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -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; |