summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_tl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_tl.c')
-rw-r--r--sys/pci/if_tl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index 7bf6901..ccc7069 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -1132,7 +1132,7 @@ static int tl_attach(dev)
goto fail;
}
- mtx_init(&sc->tl_mtx, device_get_nameunit(dev), MTX_DEF);
+ mtx_init(&sc->tl_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE);
TL_LOCK(sc);
/*
OpenPOWER on IntegriCloud