summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDomen Puncer <domen.puncer@telargo.com>2007-08-17 06:54:45 (GMT)
committerJeff Garzik <jeff@garzik.org>2007-08-25 06:31:02 (GMT)
commitbc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7 (patch)
tree38ce820cda8cff12b6ba69fb209f240fba3f37aa /drivers
parent09e06f652d86d358583df0b601c0c4d11923dd88 (diff)
downloadlinux-fsl-qoriq-bc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7.tar.xz
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')
-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 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;