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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index 19893cf..fecc20d 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -817,7 +817,7 @@ 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_init(&sc->wb_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE);
WB_LOCK(sc);
/*
OpenPOWER on IntegriCloud