diff options
Diffstat (limited to 'sys/i386/isa')
-rw-r--r-- | sys/i386/isa/if_el.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/intr_machdep.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/nmi.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/isa/if_el.c b/sys/i386/isa/if_el.c index 0e980c5..b13f71a 100644 --- a/sys/i386/isa/if_el.c +++ b/sys/i386/isa/if_el.c @@ -148,8 +148,8 @@ el_probe(device_t dev) sc->el_btag = rman_get_bustag(sc->el_res); sc->el_bhandle = rman_get_bushandle(sc->el_res); - mtx_init(&sc->el_mtx, - device_get_nameunit(dev), MTX_DEF | MTX_RECURSE); + mtx_init(&sc->el_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, + MTX_DEF | MTX_RECURSE); EL_LOCK(sc); /* Now attempt to grab the station address from the PROM diff --git a/sys/i386/isa/intr_machdep.c b/sys/i386/isa/intr_machdep.c index 59c739e..cfd6c69 100644 --- a/sys/i386/isa/intr_machdep.c +++ b/sys/i386/isa/intr_machdep.c @@ -604,7 +604,7 @@ static void ithds_init(void *dummy) { - mtx_init(&ithds_table_lock, "ithread table lock", MTX_SPIN); + mtx_init(&ithds_table_lock, "ithread table lock", NULL, MTX_SPIN); } SYSINIT(ithds_init, SI_SUB_INTR, SI_ORDER_SECOND, ithds_init, NULL); diff --git a/sys/i386/isa/nmi.c b/sys/i386/isa/nmi.c index 59c739e..cfd6c69 100644 --- a/sys/i386/isa/nmi.c +++ b/sys/i386/isa/nmi.c @@ -604,7 +604,7 @@ static void ithds_init(void *dummy) { - mtx_init(&ithds_table_lock, "ithread table lock", MTX_SPIN); + mtx_init(&ithds_table_lock, "ithread table lock", NULL, MTX_SPIN); } SYSINIT(ithds_init, SI_SUB_INTR, SI_ORDER_SECOND, ithds_init, NULL); |