78,6 → 78,9 |
* of a given interface; other interfaces may support other classes. |
* @bInterfaceSubClass: Subclass of interface; associated with bInterfaceClass. |
* @bInterfaceProtocol: Protocol of interface; associated with bInterfaceClass. |
* @bInterfaceNumber: Number of interface; composite devices may use |
* fixed interface numbers to differentiate between vendor-specific |
* interfaces. |
* @driver_info: Holds information used by the driver. Usually it holds |
* a pointer to a descriptor understood by the driver, or perhaps |
* device flags. |
130,12 → 133,15 |
#define USB_DEVICE_ID_MATCH_INT_CLASS 0x0080 |
#define USB_DEVICE_ID_MATCH_INT_SUBCLASS 0x0100 |
#define USB_DEVICE_ID_MATCH_INT_PROTOCOL 0x0200 |
#define USB_DEVICE_ID_MATCH_INT_NUMBER 0x0400 |
|
#define HID_ANY_ID (~0) |
#define HID_BUS_ANY 0xffff |
#define HID_GROUP_ANY 0x0000 |
|
struct hid_device_id { |
__u16 bus; |
__u16 pad1; |
__u16 group; |
__u32 vendor; |
__u32 product; |
kernel_ulong_t driver_data |
222,7 → 228,7 |
char type[32]; |
char compatible[128]; |
#ifdef __KERNEL__ |
void *data; |
const void *data; |
#else |
kernel_ulong_t data; |
#endif |