diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2000-05-26 16:24:31 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2000-05-26 16:24:31 +0000 |
commit | c7bb4f23cbc1ab45e198fa9e28777a8cfc688309 (patch) | |
tree | 27aa36844b6fd83f1bdef6f573630d2b0f599415 /sys/dev/isa | |
parent | 1c568619bea108353fc15db2ed86f63489561a9b (diff) |
add missing 'break'
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/if_ef_isapnp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/if_ef_isapnp.c b/sys/dev/isa/if_ef_isapnp.c index cac4581a16a..4791ed31812 100644 --- a/sys/dev/isa/if_ef_isapnp.c +++ b/sys/dev/isa/if_ef_isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ef_isapnp.c,v 1.5 1999/12/02 20:55:06 jason Exp $ */ +/* $OpenBSD: if_ef_isapnp.c,v 1.6 2000/05/26 16:24:30 jason Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -353,7 +353,7 @@ efioctl(ifp, cmd, data) struct ifreq *ifr = (struct ifreq *)data; int s, error = 0; - s = splnet(); + s = splimp(); if ((error = ether_ioctl(ifp, &sc->sc_arpcom, cmd, data)) > 0) { splx(s); @@ -374,6 +374,7 @@ efioctl(ifp, cmd, data) efinit(sc); break; } + break; case SIOCSIFMEDIA: case SIOCGIFMEDIA: error = ifmedia_ioctl(ifp, ifr, &sc->sc_mii.mii_media, cmd); |