History

usb: core: add Status Type definitions

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.

Felipe Balbi committed 9 years ago

Commit 6f27f4f1 parent e79bfcb2 files · +6 −2Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/usb/ch9.h+4−0
@@ -143,6 +143,10 @@ · 142 unmodified lines
143#define TEST_PACKET 4143#define TEST_PACKET 4
144#define TEST_FORCE_EN 5144#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.0151 * New Feature Selectors as added by USB 3.0
148 * See USB 3.0 spec Table 9-7152 * See USB 3.0 spec Table 9-7