diff options
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r-- | sys/pci/if_xl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 6a7f6c6..782361c 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -1255,7 +1255,8 @@ static int xl_attach(dev) sc = device_get_softc(dev); unit = device_get_unit(dev); - mtx_init(&sc->xl_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE); + mtx_init(&sc->xl_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, + MTX_DEF | MTX_RECURSE); XL_LOCK(sc); sc->xl_flags = 0; |