RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / linux / usb / quirks.h
blob2454e79b06f3f6aa300d5b232823852cf23e05ce
1 /*
2 * This file holds the definitions of quirks found in USB devices.
3 * Only quirks that affect the whole device, not an interface,
4 * belong here.
5 */
7 /* string descriptors must not be fetched using a 255-byte read */
8 #define USB_QUIRK_STRING_FETCH_255 0x00000001
10 /* device can't resume correctly so reset it instead */
11 #define USB_QUIRK_RESET_RESUME 0x00000002
13 /* device can't handle Set-Interface requests */
14 #define USB_QUIRK_NO_SET_INTF 0x00000004
16 /* device can't handle its Configuration or Interface strings */
17 #define USB_QUIRK_CONFIG_INTF_STRINGS 0x00000008
19 /*device will morph if reset, don't use reset for handling errors */
20 #define USB_QUIRK_RESET_MORPHS 0x00000010
22 /* device has more interface descriptions than the bNumInterfaces count,
23 and can't handle talking to these interfaces */
24 #define USB_QUIRK_HONOR_BNUMINTERFACES 0x00000020
26 /* device needs a pause during initialization, after we read the device
27 descriptor */
28 #define USB_QUIRK_DELAY_INIT 0x00000040