On Wednesday 01 September 2004 10:27 am, Likely, Grant wrote: > Where can I find information on the changes from 2.4 to 2.6 on the > UCD-HC driver interface? I'm using the Intrinsyc CerfCube with at TD243 > (OTG243) USB chipset. I've got the 2.6 kernel ported to the cerfcube, > but I do not have a ported HCD for the td243.
There's nothing much written up; UTSL (sorry!). Many of the methods have obvious and trivial mappings between the older "usb_operations" to newer "hc_driver" method vectors. I've been saying that OHCI is the best model to use if you're trying to see how the parts (can) fit together; YMMV. Otherwise, notice: - HCD semantics are now more tightly defined, and are tested using "usbtest". (We don't want HCD-specific behaviors!) - URB unlinking is ONLY async now. Synchronization is in usbcore, or in the device drivers. - Most of the virtual root hub logic is shared between all HCDs. That's probably the best place make work, after init/binding. - There's a new endpoint_disable() operation; implement it. It makes disconnection be a LOT less oops-prone (and it's not in the old 2.4 usbcore snapshots). - Much of the DMA logic got generalized in 2.6, but PIO style HCDs could behave too. A TD243 driver would have both PCI (eval card, OTG testing) and platform bus variants, I'd hope ... the ohci-lh7a404 code is probably cleanest model for platform bus. > I'm currently working on the port, but I'm having trouble finding > information on what has changed. (There are also some legal questions > that I need to work out about the TDI source, so I may end up writing a > new driver if the current one cannot be GPLed). If the TDI version can be statically linked with Linux, it's already been GPL'd -- right? Certainly now that it's been distributed to CerfCube users. :) - Dave ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
