diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb/ch9.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h index 7e1da17ca7ce..61fcbc2b97da 100644 --- a/include/linux/usb/ch9.h +++ b/include/linux/usb/ch9.h | |||
| @@ -66,8 +66,8 @@ | |||
| 66 | #define USB_RECIP_ENDPOINT 0x02 | 66 | #define USB_RECIP_ENDPOINT 0x02 |
| 67 | #define USB_RECIP_OTHER 0x03 | 67 | #define USB_RECIP_OTHER 0x03 |
| 68 | /* From Wireless USB 1.0 */ | 68 | /* From Wireless USB 1.0 */ |
| 69 | #define USB_RECIP_PORT 0x04 | 69 | #define USB_RECIP_PORT 0x04 |
| 70 | #define USB_RECIP_RPIPE 0x05 | 70 | #define USB_RECIP_RPIPE 0x05 |
| 71 | 71 | ||
| 72 | /* | 72 | /* |
| 73 | * Standard requests, for the bRequest field of a SETUP packet. | 73 | * Standard requests, for the bRequest field of a SETUP packet. |
| @@ -102,10 +102,16 @@ | |||
| 102 | #define USB_REQ_LOOPBACK_DATA_READ 0x16 | 102 | #define USB_REQ_LOOPBACK_DATA_READ 0x16 |
| 103 | #define USB_REQ_SET_INTERFACE_DS 0x17 | 103 | #define USB_REQ_SET_INTERFACE_DS 0x17 |
| 104 | 104 | ||
| 105 | /* The Link Power Mangement (LPM) ECN defines USB_REQ_TEST_AND_SET command, | ||
| 106 | * used by hubs to put ports into a new L1 suspend state, except that it | ||
| 107 | * forgot to define its number ... | ||
| 108 | */ | ||
| 109 | |||
| 105 | /* | 110 | /* |
| 106 | * USB feature flags are written using USB_REQ_{CLEAR,SET}_FEATURE, and | 111 | * USB feature flags are written using USB_REQ_{CLEAR,SET}_FEATURE, and |
| 107 | * are read as a bit array returned by USB_REQ_GET_STATUS. (So there | 112 | * are read as a bit array returned by USB_REQ_GET_STATUS. (So there |
| 108 | * are at most sixteen features of each type.) | 113 | * are at most sixteen features of each type.) Hubs may also support a |
| 114 | * new USB_REQ_TEST_AND_SET_FEATURE to put ports into L1 suspend. | ||
| 109 | */ | 115 | */ |
| 110 | #define USB_DEVICE_SELF_POWERED 0 /* (read only) */ | 116 | #define USB_DEVICE_SELF_POWERED 0 /* (read only) */ |
| 111 | #define USB_DEVICE_REMOTE_WAKEUP 1 /* dev may initiate wakeup */ | 117 | #define USB_DEVICE_REMOTE_WAKEUP 1 /* dev may initiate wakeup */ |
| @@ -575,6 +581,8 @@ enum usb_device_state { | |||
| 575 | /* NOTE: there are actually four different SUSPENDED | 581 | /* NOTE: there are actually four different SUSPENDED |
| 576 | * states, returning to POWERED, DEFAULT, ADDRESS, or | 582 | * states, returning to POWERED, DEFAULT, ADDRESS, or |
| 577 | * CONFIGURED respectively when SOF tokens flow again. | 583 | * CONFIGURED respectively when SOF tokens flow again. |
| 584 | * At this level there's no difference between L1 and L2 | ||
| 585 | * suspend states. (L2 being original USB 1.1 suspend.) | ||
| 578 | */ | 586 | */ |
| 579 | }; | 587 | }; |
| 580 | 588 | ||
