From 13c65f56b568c751181cdac11f5ce30b619f2d86 Mon Sep 17 00:00:00 2001 From: thompsa Date: Tue, 23 Dec 2008 17:36:25 +0000 Subject: Name the bus mutex by the controller name, this allows each bus to be distinguished in lock profiling, etc. --- sys/dev/usb2/controller/uhci2_pci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/usb2/controller/uhci2_pci.c') 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; -- cgit v1.1