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>
This commit is contained in:
committed by
Jeff Garzik
parent
09e06f652d
commit
bc1e0a095e
@@ -364,7 +364,7 @@ EXPORT_SYMBOL(genphy_config_advert);
|
|||||||
*/
|
*/
|
||||||
int genphy_setup_forced(struct phy_device *phydev)
|
int genphy_setup_forced(struct phy_device *phydev)
|
||||||
{
|
{
|
||||||
int ctl = BMCR_RESET;
|
int ctl = 0;
|
||||||
|
|
||||||
phydev->pause = phydev->asym_pause = 0;
|
phydev->pause = phydev->asym_pause = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user