summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorDomen Puncer <domen.puncer@telargo.com>2007-08-17 08:54:45 +0200
committerJeff Garzik <jeff@garzik.org>2007-08-25 02:31:02 -0400
commitbc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7 (patch)
tree38ce820cda8cff12b6ba69fb209f240fba3f37aa /drivers/net/phy/phy_device.c
parent09e06f652d86d358583df0b601c0c4d11923dd88 (diff)
downloadblackbird-op-linux-bc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7.tar.gz
blackbird-op-linux-bc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7.zip
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/phy_device.c')
-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);
*/
int genphy_setup_forced(struct phy_device *phydev)
{
- int ctl = BMCR_RESET;
+ int ctl = 0;
phydev->pause = phydev->asym_pause = 0;
OpenPOWER on IntegriCloud