summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb2/controller/at91dci_atmelarm.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2008-11-10 20:54:31 +0000
committerthompsa <thompsa@FreeBSD.org>2008-11-10 20:54:31 +0000
commit33e3cbce8e605e9e2818d8d34f721a3bca2b65ff (patch)
tree2a38bb4601a2892888db6d9b14e006bae8a41889 /sys/dev/usb2/controller/at91dci_atmelarm.c
parent79b0ca8da7a3f9f7743f354dfd1368f99e5c49e8 (diff)
downloadFreeBSD-src-33e3cbce8e605e9e2818d8d34f721a3bca2b65ff.zip
FreeBSD-src-33e3cbce8e605e9e2818d8d34f721a3bca2b65ff.tar.gz
Convert the two main locking areas into macros to make it clear on what we are
grabbing and why. These are now: USB_BUS_LOCK/USB_BUS_UNLOCK USB_XFER_LOCK/USB_XFER_UNLOCK Reviewed by: alfred
Diffstat (limited to 'sys/dev/usb2/controller/at91dci_atmelarm.c')
-rw-r--r--sys/dev/usb2/controller/at91dci_atmelarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb2/controller/at91dci_atmelarm.c b/sys/dev/usb2/controller/at91dci_atmelarm.c
index 0a6f961..dd01773 100644
--- a/sys/dev/usb2/controller/at91dci_atmelarm.c
+++ b/sys/dev/usb2/controller/at91dci_atmelarm.c
@@ -210,7 +210,7 @@ at91_udp_attach(device_t dev)
device_set_ivars(sc->sc_dci.sc_bus.bdev, &sc->sc_dci.sc_bus);
err = usb2_config_td_setup(&sc->sc_dci.sc_config_td, sc,
- &sc->sc_dci.sc_bus.mtx, NULL, 0, 4);
+ &sc->sc_dci.sc_bus.bus_mtx, NULL, 0, 4);
if (err) {
device_printf(dev, "could not setup config thread!\n");
goto error;
OpenPOWER on IntegriCloud