Looks good, now when the PM bits can power down from the leaves,
and turn off USB devices /before/ the USB controller and PCI bridges,
which sounds much more sensible.
> Yes, I need to have better names for the devices than just "usb_bus",
> any suggestions? These devices nodes are really the USB root hubs in
> the USB controller, so they could just have the USB number as the name
> like the other USB devices (001), but that's pretty boring :)
"usb_root0" .. "usb_rootN" ?
btw, a script to marry the busid's from driverfs to lspci/lsusb
output may be useful in the future especially if combined somehow
with tree(1). Could be very handy when it gets time to debug
those "My system won't suspend to disk" "What does /driver look like?"
situations.
-- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/