aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorDomen Puncer <domen.puncer@telargo.com>2007-08-17 02:54:45 -0400
committerJeff Garzik <jeff@garzik.org>2007-08-25 02:31:02 -0400
commitbc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7 (patch)
tree38ce820cda8cff12b6ba69fb209f240fba3f37aa /drivers/net/phy
parent09e06f652d86d358583df0b601c0c4d11923dd88 (diff)
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/phy')
-rw-r--r--drivers/net/phy/phy_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index a8b74cdab1ea..e275df8c55bc 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -364,7 +364,7 @@ EXPORT_SYMBOL(genphy_config_advert);
364 */ 364 */
365int genphy_setup_forced(struct phy_device *phydev) 365int genphy_setup_forced(struct phy_device *phydev)
366{ 366{
367 int ctl = BMCR_RESET; 367 int ctl = 0;
368 368
369 phydev->pause = phydev->asym_pause = 0; 369 phydev->pause = phydev->asym_pause = 0;
370 370