1USB_DEVICE_AND_INTER(9) Host-Side Data Types and Macro USB_DEVICE_AND_INTER(9)
2
3
4
6 USB_DEVICE_AND_INTERFACE_INFO - describe a specific usb device with a
7 class of usb interfaces
8
10 USB_DEVICE_AND_INTERFACE_INFO(vend, prod, cl, sc, pr);
11
13 vend
14 the 16 bit USB Vendor ID
15
16 prod
17 the 16 bit USB Product ID
18
19 cl
20 bInterfaceClass value
21
22 sc
23 bInterfaceSubClass value
24
25 pr
26 bInterfaceProtocol value
27
29 This macro is used to create a struct usb_device_id that matches a
30 specific device with a specific class of interfaces.
31
32 This is especially useful when explicitly matching devices that have
33 vendor specific bDeviceClass values, but standards-compliant
34 interfaces.
35
37Kernel Hackers Manual 3.10 June 2019 USB_DEVICE_AND_INTER(9)