summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/tdkphy.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-04 11:00:30 +0000
committerphk <phk@FreeBSD.org>2002-05-04 11:00:30 +0000
commit2bdcfd0c1cef53f79a0f3a9c89de2b9353a04cd1 (patch)
tree10060b81297899944fcdaab5c317442881b2dc23 /sys/dev/mii/tdkphy.c
parent86e4ff351cfc30a5d4252b6e45c3e240773f3114 (diff)
downloadFreeBSD-src-2bdcfd0c1cef53f79a0f3a9c89de2b9353a04cd1.zip
FreeBSD-src-2bdcfd0c1cef53f79a0f3a9c89de2b9353a04cd1.tar.gz
Clean up mii/phy drivers: Remove the MIIF_DOINGAUTO which doesn't really
do anything at the end of the day except bloat the drivers which has copy&pasted it.
Diffstat (limited to 'sys/dev/mii/tdkphy.c')
-rw-r--r--sys/dev/mii/tdkphy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mii/tdkphy.c b/sys/dev/mii/tdkphy.c
index a5f08b3..833c499 100644
--- a/sys/dev/mii/tdkphy.c
+++ b/sys/dev/mii/tdkphy.c
@@ -195,7 +195,7 @@ tdkphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
*/
if (PHY_READ(sc, MII_BMCR) & BMCR_AUTOEN)
return (0);
- (void) mii_phy_auto(sc, 1);
+ (void) mii_phy_auto(sc);
break;
case IFM_100_T4:
/*
OpenPOWER on IntegriCloud