summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2000-10-18 15:07:01 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2000-10-18 15:07:01 +0000
commitbd58678178780033331f80a86a52a9ab852371d8 (patch)
tree2defd33a7eeb0c18f742cdfd6f227a99f7730ca7 /sys/dev/mii
parenta01ca97d4f820ce27b9028f60239ad71108a9915 (diff)
Fix compile error (ok nate@)
Diffstat (limited to 'sys/dev/mii')
-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: