USB - Fix mis-cast in EHCI producing garbage on console
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 3 Jul 2009 21:38:50 +0000 (14:38 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 3 Jul 2009 21:38:50 +0000 (14:38 -0700)
commit63bf4253195906a86838dd13e39077ac98406c20
tree0b8965bd5fb56737a301fa1251cfa0b3e92971a2
parent464e801e77f8e4207ef040861cd7561c47e4f913
USB - Fix mis-cast in EHCI producing garbage on console

EHCI was improperly interpreting the companion bus softc pointer,
causing it to report junk on the console.

Reported-by: Alexander Polakov <polachok@gmail.com>
sys/bus/usb/ehci_pci.c
sys/bus/usb/usb.c
sys/bus/usb/usbdi.h