diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-09-17 07:19:20 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-09-17 07:19:20 +0000 |
commit | d6e5527cc97a0b3f5a1ae1c52d06c61f4b3685cf (patch) | |
tree | bb52c0af699875d6c14dd6ce94696f04b2f0e14a /sys/dev/mii/rgephy.c | |
parent | faa099bc8ce53c0ec166936ac0122c205b38b631 (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.c | 3 |
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); } |