Here's a patch against 2.5.1-pre10 that adds the "hcd" framework into "usbcore". Things that aren't done yet:
* Some "usb.c" code is only for HC driver support, and should move into "hcd.c". * The same goes for some bits of "usb.h" and "hcd.h". (Some enumeration stuff might even go to "hub.c"...) * The "hcd" and "usb_bus" should be the same thing, but that'll be easier to change later on. * For 2.5 the new driver (and "driverfs") stuff should fit in directly to "hcd" (and "hub"). * This doesn't hook up to kerneldoc yet; it'd be in a separate USB subsection, which doesn't exist yet. I figure those can be addressed as drivers using this (OHCI, EHCI, and eventually UHCI) get integrated. The "ohci-hcd" code is mostly ready, but I want to do a sanity check first (make sure I picked up all the fixes since it branched off from "usb-ohci"). That is, this is a start, and it should evolve over the 2.5 time frame, with both bugfixes and features. - Dave
hcd-1212.patch
Description: Binary data