diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-05-04 11:00:30 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-05-04 11:00:30 +0000 |
commit | fd94424c787ee5080ec5f524da4add26e2d98223 (patch) | |
tree | 10060b81297899944fcdaab5c317442881b2dc23 /sys/dev/mii/mlphy.c | |
parent | 3203428dc5c8f2237a4396b907bd3d306936315f (diff) |
Notes
Diffstat (limited to 'sys/dev/mii/mlphy.c')
-rw-r--r-- | sys/dev/mii/mlphy.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/mii/mlphy.c b/sys/dev/mii/mlphy.c index 44ab59d4a261..d600455b5e4a 100644 --- a/sys/dev/mii/mlphy.c +++ b/sys/dev/mii/mlphy.c @@ -238,7 +238,7 @@ mlphy_service(xsc, mii, cmd) mii_phy_reset(other); PHY_WRITE(other, MII_BMCR, BMCR_ISO); } - (void) mii_phy_auto(sc, 1); + (void) mii_phy_auto(sc); msc->ml_linked = 0; return(0); break; @@ -346,9 +346,8 @@ mlphy_service(xsc, mii, cmd) mii_phy_reset(other); PHY_WRITE(other, MII_BMCR, BMCR_ISO); } - if (mii_phy_auto(sc, 0) == EJUSTRETURN) - return(0); - break; + mii_phy_auto(sc); + return(0); } /* Update the media status. */ @@ -425,7 +424,7 @@ static void mlphy_status(sc) mlphy_reset(&msc->ml_mii); PHY_WRITE(&msc->ml_mii, MII_BMCR, BMCR_ISO); mii_phy_reset(other); - mii_phy_auto(other, 1); + mii_phy_auto(other); } return; |