summaryrefslogtreecommitdiff
path: root/sys/dev/mii/txphy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mii/txphy.c')
-rw-r--r--sys/dev/mii/txphy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/mii/txphy.c b/sys/dev/mii/txphy.c
index 2e78574b7ad..78d602701a0 100644
--- a/sys/dev/mii/txphy.c
+++ b/sys/dev/mii/txphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: txphy.c,v 1.2 2000/08/26 20:04:18 nate Exp $ */
+/* $OpenBSD: txphy.c,v 1.3 2000/10/18 15:07:00 chris Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -133,8 +133,7 @@ txphy_service(sc, mii, cmd)
if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
break;
- switch (IFM_SUBTYPE(ife->ifm_media)) {
- mii_phy_setmedia(sc);
+ mii_phy_setmedia(sc);
break;
case MII_TICK: