CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2014/03/25 14:27:37

Modified files:
        sys/dev/usb    : ehci.c ehcivar.h ohci.c ohcivar.h uhci.c 
                         uhcivar.h xhci.c xhcivar.h 

Log message:
Instead of matching root hubs with a custom address, that only works
because USB_START_ADDR is defined to 0 and the softc is M_ZERO'd,
assume that root hubs are the only devices with a depth of 0.

Root hubs can now happily be detached and reattached.

Reply via email to