diff options
author | thompsa <thompsa@FreeBSD.org> | 2008-12-23 17:36:25 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2008-12-23 17:36:25 +0000 |
commit | 13c65f56b568c751181cdac11f5ce30b619f2d86 (patch) | |
tree | 1fb5fdf2b581886d2880dd6351e469f46b260ca4 /sys/dev/usb2/controller/uhci2_pci.c | |
parent | 291c79e84c43ec0141da734347f9140c80b6a933 (diff) | |
download | FreeBSD-src-13c65f56b568c751181cdac11f5ce30b619f2d86.zip FreeBSD-src-13c65f56b568c751181cdac11f5ce30b619f2d86.tar.gz |
Name the bus mutex by the controller name, this allows each bus to be
distinguished in lock profiling, etc.
Diffstat (limited to 'sys/dev/usb2/controller/uhci2_pci.c')
-rw-r--r-- | sys/dev/usb2/controller/uhci2_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb2/controller/uhci2_pci.c b/sys/dev/usb2/controller/uhci2_pci.c index 44e0b59..9baf42b 100644 --- a/sys/dev/usb2/controller/uhci2_pci.c +++ b/sys/dev/usb2/controller/uhci2_pci.c @@ -253,6 +253,7 @@ uhci_pci_attach(device_t self) } /* get all DMA memory */ + sc->sc_bus.parent = self; if (usb2_bus_mem_alloc_all(&sc->sc_bus, USB_GET_DMA_TAG(self), &uhci_iterate_hw_softc)) { return ENOMEM; |