强人,linux下驱动相关数据结构和usb设备数据结构之间的功能分析
如题:
在linux2.6下,有 驱动、设备、总线的模型,对应的数据结构为
struct device、struct device_driver、struct bus
对于usb驱动是
struct usb_device、struct usb_driver、struct usb_bus
问题:
struct usb_device、struct usb_driver、struct usb_bus 这个三个数据结构和
struct device、struct device_driver、struct bus这三个数据结构的功能比较??