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:
Domen Puncer 2007-08-17 08:54:45 +02:00 committed by Jeff Garzik
parent 09e06f652d
commit bc1e0a095e

View File

@ -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;