Deleted Added
full compact
1c1
< /* $FreeBSD: head/sys/dev/usb2/core/usb2_hub.c 184610 2008-11-04 02:31:03Z alfred $ */
---
> /* $FreeBSD: head/sys/dev/usb2/core/usb2_hub.c 184824 2008-11-10 20:54:31Z thompsa $ */
759c759
< mtx_lock(sc->sc_xfer[0]->priv_mtx);
---
> USB_XFER_LOCK(sc->sc_xfer[0]);
761c761
< mtx_unlock(sc->sc_xfer[0]->priv_mtx);
---
> USB_XFER_UNLOCK(sc->sc_xfer[0]);
1005c1005
< mtx_assert(&bus->mtx, MA_OWNED);
---
> USB_BUS_LOCK_ASSERT(bus, MA_OWNED);
1082c1082
< mtx_assert(&bus->mtx, MA_OWNED);
---
> USB_BUS_LOCK_ASSERT(bus, MA_OWNED);
1282c1282
< mtx_lock(&bus->mtx);
---
> USB_BUS_LOCK(bus);
1290c1290
< mtx_unlock(&bus->mtx);
---
> USB_BUS_UNLOCK(bus);