summaryrefslogtreecommitdiff
path: root/sys/dev/mii/rgephy.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-09-17 07:19:20 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-09-17 07:19:20 +0000
commitd6e5527cc97a0b3f5a1ae1c52d06c61f4b3685cf (patch)
treebb52c0af699875d6c14dd6ce94696f04b2f0e14a /sys/dev/mii/rgephy.c
parentfaa099bc8ce53c0ec166936ac0122c205b38b631 (diff)
Remove the unsupported media types explicitly listed in the switch cases
for MII_MEDIACHG. The default case will catch these media types. ok jsg@
Diffstat (limited to 'sys/dev/mii/rgephy.c')
-rw-r--r--sys/dev/mii/rgephy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/mii/rgephy.c b/sys/dev/mii/rgephy.c
index 9b71c3941be..2c1ddbb950b 100644
--- a/sys/dev/mii/rgephy.c
+++ b/sys/dev/mii/rgephy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rgephy.c,v 1.28 2008/06/10 21:15:14 brad Exp $ */
+/* $OpenBSD: rgephy.c,v 1.29 2008/09/17 07:19:19 brad Exp $ */
/*
* Copyright (c) 2003
* Bill Paul <wpaul@windriver.com>. All rights reserved.
@@ -220,7 +220,6 @@ setit:
PHY_WRITE(sc, MII_BMCR, BMCR_ISO|BMCR_PDOWN);
break;
#endif
- case IFM_100_T4:
default:
return (EINVAL);
}