next up previous contents index
Next: Framework Entry Points Up: The USB Device Driver Previous: The USB Device Driver   Contents   Index

Framework Data Structures

All USB related functions or data structures follow the same naming convention and start with usb_. Figure 4 shows the structure needed to register a USB device driver at the subsystem.

Figure 4: usb_driver structure
\begin{figure}
\centering\index{struct usb\_driver}
\begin{verbatim}struct usb...
... void *buf);
const struct usb_device_id *id_table;
};\end{verbatim}\end{figure}



Detlef Fliegl
2001-01-08