Skip to content

Commit

Permalink
phy layer: fix genphy_setup_forced (don't reset)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Domen Puncer authored and Jeff Garzik committed Aug 25, 2007
1 parent 09e06f6 commit bc1e0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/phy/phy_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bc1e0a0

Please sign in to comment.