summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_wb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_wb.c')
-rw-r--r--sys/pci/if_wb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index 6f104b6..8647e32 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -814,7 +814,8 @@ static int wb_attach(dev)
sc = device_get_softc(dev);
unit = device_get_unit(dev);
- mtx_init(&sc->wb_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE);
+ mtx_init(&sc->wb_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
+ MTX_DEF | MTX_RECURSE);
WB_LOCK(sc);
/*
OpenPOWER on IntegriCloud