Commit bc1e0a09 authored by Domen Puncer's avatar Domen Puncer Committed by Jeff Garzik

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: default avatarDomen Puncer <domen.puncer@telargo.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 09e06f65
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment