Ethan Mattor wrote:
Hi,

I have been trying do deconstruct your USB driver for some time now. I am a
bit stuck, and could use some help. It I assume that the structure
usb_operations is a mechanism to reference either the UHCI or OHCI routines
for a variety of functions.

Actually on 2.6 it's a pointer to "struct hc_driver" glue, which lets the EHCI, OHCI, and UHCI drivers share a lot more common than "struct usb_operations" expected.

The "struct usb_operations" stuff is pretty old, dating
back to 2.2 kernels when the USB stack had a lot fewer
demands to satisfy.  The main reason it's not gone is
to help some of the non-mainstream HCDs continue to work
on the 2.6 kernels ... maybe 2.7 should remove that, it's
really not as functional as it should be.

- Dave






------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to