USB 3.1 added a PTM_STATUS type. Let's add a define for it and following patches will let usb_get_status() accept the new argument.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -143,6 +143,10 @@ · 142 unmodified lines | |||
| 143 | #define TEST_PACKET 4 | 143 | #define TEST_PACKET 4 |
| 144 | #define TEST_FORCE_EN 5 | 144 | #define TEST_FORCE_EN 5 |
| 145 | 145 | ||
| 146 | /* Status Type */ | ||
| 147 | #define USB_STATUS_TYPE_STANDARD 0 | ||
| 148 | #define USB_STATUS_TYPE_PTM 1 | ||
| 149 | |||
| 146 | /* | 150 | /* |
| 147 | * New Feature Selectors as added by USB 3.0 | 151 | * New Feature Selectors as added by USB 3.0 |
| 148 | * See USB 3.0 spec Table 9-7 | 152 | * See USB 3.0 spec Table 9-7 |