Add missing ()'s so that these drivers all compile again.

Noticed by:	jake
Tested on:	i386 (compile)
This commit is contained in:
jhb 2003-03-31 20:22:00 +00:00
parent d0dddcf7e4
commit cafa967981
13 changed files with 13 additions and 13 deletions

View File

@ -2319,7 +2319,7 @@ dc_detach(dev)
struct dc_mediainfo *m;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->dc_mtx), "dc mutex not initialized");
KASSERT(mtx_initialized(&sc->dc_mtx), ("dc mutex not initialized"));
DC_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -835,7 +835,7 @@ sf_detach(dev)
struct ifnet *ifp;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->sf_mtx), "sf mutex not initialized");
KASSERT(mtx_initialized(&sc->sf_mtx), ("sf mutex not initialized"));
SF_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -921,7 +921,7 @@ vr_detach(dev)
struct ifnet *ifp;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->vr_mtx), "vr mutex not initialized");
KASSERT(mtx_initialized(&sc->vr_mtx), ("vr mutex not initialized"));
VR_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -2319,7 +2319,7 @@ dc_detach(dev)
struct dc_mediainfo *m;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->dc_mtx), "dc mutex not initialized");
KASSERT(mtx_initialized(&sc->dc_mtx), ("dc mutex not initialized"));
DC_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -674,7 +674,7 @@ pcn_detach(dev)
sc = device_get_softc(dev);
ifp = &sc->arpcom.ac_if;
KASSERT(mtx_initialized(&sc->pcn_mtx), "pcn mutex not initialized");
KASSERT(mtx_initialized(&sc->pcn_mtx), ("pcn mutex not initialized"));
PCN_LOCK(sc);
if (device_is_alive(dev)) {

View File

@ -1103,7 +1103,7 @@ rl_detach(dev)
struct ifnet *ifp;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->rl_mtx), "rl mutex not initialized");
KASSERT(mtx_initialized(&sc->rl_mtx), ("rl mutex not initialized"));
RL_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -835,7 +835,7 @@ sf_detach(dev)
struct ifnet *ifp;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->sf_mtx), "sf mutex not initialized");
KASSERT(mtx_initialized(&sc->sf_mtx), ("sf mutex not initialized"));
SF_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -1428,7 +1428,7 @@ sis_detach(dev)
struct ifnet *ifp;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->sis_mtx), "sis mutex not initialized");
KASSERT(mtx_initialized(&sc->sis_mtx), ("sis mutex not initialized"));
SIS_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -1095,7 +1095,7 @@ ste_detach(dev)
struct ifnet *ifp;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->ste_mtx), "ste mutex not initialized");
KASSERT(mtx_initialized(&sc->ste_mtx), ("ste mutex not initialized"));
STE_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -1352,7 +1352,7 @@ tl_detach(dev)
struct ifnet *ifp;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->tl_mtx), "tl mutex not initialized");
KASSERT(mtx_initialized(&sc->tl_mtx), ("tl mutex not initialized"));
TL_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -921,7 +921,7 @@ vr_detach(dev)
struct ifnet *ifp;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->vr_mtx), "vr mutex not initialized");
KASSERT(mtx_initialized(&sc->vr_mtx), ("vr mutex not initialized"));
VR_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -984,7 +984,7 @@ wb_detach(dev)
struct ifnet *ifp;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->wb_mtx), "wb mutex not initialized");
KASSERT(mtx_initialized(&sc->wb_mtx), ("wb mutex not initialized"));
WB_LOCK(sc);
ifp = &sc->arpcom.ac_if;

View File

@ -1740,7 +1740,7 @@ xl_detach(dev)
int rid, res;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->xl_mtx), "xl mutex not initialized");
KASSERT(mtx_initialized(&sc->xl_mtx), ("xl mutex not initialized"));
XL_LOCK(sc);
ifp = &sc->arpcom.ac_if;