Get completely rid of sc_dev in usb_softc and uhub_softc structures. Instead
commitb9bd1250fda05e66c9c43aad89933cee5975e28d
authorMichael Neumann <mneumann@dragonflybsd.org>
Mon, 26 May 2008 12:37:44 +0000 (26 12:37 +0000)
committerMichael Neumann <mneumann@dragonflybsd.org>
Mon, 26 May 2008 12:37:44 +0000 (26 12:37 +0000)
tree98928eea3efb254f4a11a0839912ea5c294d38b7
parent0be189333d496688778e838cfc7a42d674aea997
Get completely rid of sc_dev in usb_softc and uhub_softc structures. Instead
of directly passing around the softc structure, pass the device_t around and
access the softc structure via device_get_softc.
sys/bus/usb/uhub.c
sys/bus/usb/usb.c
sys/bus/usb/usb_port.h
sys/bus/usb/usbdivar.h