summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-03-31 20:22:00 +0000
committerjhb <jhb@FreeBSD.org>2003-03-31 20:22:00 +0000
commit35e71f4a050af9100a931d737080b2818efa8c63 (patch)
tree4c4dca2b0899c6d629f03e914ed7e3e71e575bca
parent28fd4ae8c51a5b1c5d1f3efaede95c3588e8eca9 (diff)
downloadFreeBSD-src-35e71f4a050af9100a931d737080b2818efa8c63.zip
FreeBSD-src-35e71f4a050af9100a931d737080b2818efa8c63.tar.gz
Add missing ()'s so that these drivers all compile again.
Noticed by: jake Tested on: i386 (compile)
-rw-r--r--sys/dev/dc/if_dc.c2
-rw-r--r--sys/dev/sf/if_sf.c2
-rw-r--r--sys/dev/vr/if_vr.c2
-rw-r--r--sys/pci/if_dc.c2
-rw-r--r--sys/pci/if_pcn.c2
-rw-r--r--sys/pci/if_rl.c2
-rw-r--r--sys/pci/if_sf.c2
-rw-r--r--sys/pci/if_sis.c2
-rw-r--r--sys/pci/if_ste.c2
-rw-r--r--sys/pci/if_tl.c2
-rw-r--r--sys/pci/if_vr.c2
-rw-r--r--sys/pci/if_wb.c2
-rw-r--r--sys/pci/if_xl.c2
13 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 61672ef..1fb594c 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -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;
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c
index 288ca7e..bacce60 100644
--- a/sys/dev/sf/if_sf.c
+++ b/sys/dev/sf/if_sf.c
@@ -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;
diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c
index b6c1b28..ca7c482 100644
--- a/sys/dev/vr/if_vr.c
+++ b/sys/dev/vr/if_vr.c
@@ -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;
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index 61672ef..1fb594c 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -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;
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c
index dccd125..1a25adf 100644
--- a/sys/pci/if_pcn.c
+++ b/sys/pci/if_pcn.c
@@ -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)) {
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 62c4624..7ce1500 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -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;
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c
index 288ca7e..bacce60 100644
--- a/sys/pci/if_sf.c
+++ b/sys/pci/if_sf.c
@@ -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;
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index 7c7b3cc..f8f3a77 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -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;
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index 9b46ba8..ecb26a0 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -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;
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index 1b8bf7b..6c0c399 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -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;
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c
index b6c1b28..ca7c482 100644
--- a/sys/pci/if_vr.c
+++ b/sys/pci/if_vr.c
@@ -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;
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index adc8d83..c843db2 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -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;
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 05cd7b4..50ae7be 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -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;
OpenPOWER on IntegriCloud