diff options
| author | Bosko Milekic <bmilekic@FreeBSD.org> | 2001-01-19 01:59:14 +0000 |
|---|---|---|
| committer | Bosko Milekic <bmilekic@FreeBSD.org> | 2001-01-19 01:59:14 +0000 |
| commit | 08812b3925ae0a1a184e562499deb9a3cc59ec40 (patch) | |
| tree | 5e46b9a4ade7937185420c854e4fd3b6644d343f /sys/dev/usb | |
| parent | 5683c3dd1f2b4d138c72d854d553404f9e5a4100 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/if_aue.c | 3 | ||||
| -rw-r--r-- | sys/dev/usb/if_cue.c | 3 | ||||
| -rw-r--r-- | sys/dev/usb/if_kue.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c index a3b844b74738..980457391768 100644 --- a/sys/dev/usb/if_aue.c +++ b/sys/dev/usb/if_aue.c @@ -681,7 +681,8 @@ USB_ATTACH(aue) } } - mtx_init(&sc->aue_mtx, device_get_nameunit(self), MTX_DEF); + mtx_init(&sc->aue_mtx, device_get_nameunit(self), MTX_DEF | + MTX_RECURSE); AUE_LOCK(sc); /* Reset the adapter. */ diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index c62a0d708e72..6b71b48e462d 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -504,7 +504,8 @@ USB_ATTACH(cue) } } - mtx_init(&sc->cue_mtx, device_get_nameunit(self), MTX_DEF); + mtx_init(&sc->cue_mtx, device_get_nameunit(self), MTX_DEF | + MTX_RECURSE); CUE_LOCK(sc); #ifdef notdef diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c index f3a5581713a8..4d89b7072010 100644 --- a/sys/dev/usb/if_kue.c +++ b/sys/dev/usb/if_kue.c @@ -450,7 +450,8 @@ USB_ATTACH(kue) } } - mtx_init(&sc->kue_mtx, device_get_nameunit(self), MTX_DEF); + mtx_init(&sc->kue_mtx, device_get_nameunit(self), MTX_DEF | + MTX_RECURSE); KUE_LOCK(sc); /* Load the firmware into the NIC. */ |
