diff options
Diffstat (limited to 'drivers/usb/core/hub.h')
-rw-r--r-- | drivers/usb/core/hub.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/usb/core/hub.h b/drivers/usb/core/hub.h index 1551aed65e05..d672cd81a3e4 100644 --- a/drivers/usb/core/hub.h +++ b/drivers/usb/core/hub.h | |||
@@ -41,9 +41,10 @@ | |||
41 | */ | 41 | */ |
42 | #define USB_PORT_FEAT_CONNECTION 0 | 42 | #define USB_PORT_FEAT_CONNECTION 0 |
43 | #define USB_PORT_FEAT_ENABLE 1 | 43 | #define USB_PORT_FEAT_ENABLE 1 |
44 | #define USB_PORT_FEAT_SUSPEND 2 | 44 | #define USB_PORT_FEAT_SUSPEND 2 /* L2 suspend */ |
45 | #define USB_PORT_FEAT_OVER_CURRENT 3 | 45 | #define USB_PORT_FEAT_OVER_CURRENT 3 |
46 | #define USB_PORT_FEAT_RESET 4 | 46 | #define USB_PORT_FEAT_RESET 4 |
47 | #define USB_PORT_FEAT_L1 5 /* L1 suspend */ | ||
47 | #define USB_PORT_FEAT_POWER 8 | 48 | #define USB_PORT_FEAT_POWER 8 |
48 | #define USB_PORT_FEAT_LOWSPEED 9 | 49 | #define USB_PORT_FEAT_LOWSPEED 9 |
49 | #define USB_PORT_FEAT_HIGHSPEED 10 | 50 | #define USB_PORT_FEAT_HIGHSPEED 10 |
@@ -54,6 +55,7 @@ | |||
54 | #define USB_PORT_FEAT_C_RESET 20 | 55 | #define USB_PORT_FEAT_C_RESET 20 |
55 | #define USB_PORT_FEAT_TEST 21 | 56 | #define USB_PORT_FEAT_TEST 21 |
56 | #define USB_PORT_FEAT_INDICATOR 22 | 57 | #define USB_PORT_FEAT_INDICATOR 22 |
58 | #define USB_PORT_FEAT_C_PORT_L1 23 | ||
57 | 59 | ||
58 | /* | 60 | /* |
59 | * Hub Status and Hub Change results | 61 | * Hub Status and Hub Change results |
@@ -73,7 +75,8 @@ struct usb_port_status { | |||
73 | #define USB_PORT_STAT_SUSPEND 0x0004 | 75 | #define USB_PORT_STAT_SUSPEND 0x0004 |
74 | #define USB_PORT_STAT_OVERCURRENT 0x0008 | 76 | #define USB_PORT_STAT_OVERCURRENT 0x0008 |
75 | #define USB_PORT_STAT_RESET 0x0010 | 77 | #define USB_PORT_STAT_RESET 0x0010 |
76 | /* bits 5 to 7 are reserved */ | 78 | #define USB_PORT_STAT_L1 0x0020 |
79 | /* bits 6 to 7 are reserved */ | ||
77 | #define USB_PORT_STAT_POWER 0x0100 | 80 | #define USB_PORT_STAT_POWER 0x0100 |
78 | #define USB_PORT_STAT_LOW_SPEED 0x0200 | 81 | #define USB_PORT_STAT_LOW_SPEED 0x0200 |
79 | #define USB_PORT_STAT_HIGH_SPEED 0x0400 | 82 | #define USB_PORT_STAT_HIGH_SPEED 0x0400 |
@@ -91,6 +94,7 @@ struct usb_port_status { | |||
91 | #define USB_PORT_STAT_C_SUSPEND 0x0004 | 94 | #define USB_PORT_STAT_C_SUSPEND 0x0004 |
92 | #define USB_PORT_STAT_C_OVERCURRENT 0x0008 | 95 | #define USB_PORT_STAT_C_OVERCURRENT 0x0008 |
93 | #define USB_PORT_STAT_C_RESET 0x0010 | 96 | #define USB_PORT_STAT_C_RESET 0x0010 |
97 | #define USB_PORT_STAT_C_L1 0x0020 | ||
94 | 98 | ||
95 | /* | 99 | /* |
96 | * wHubCharacteristics (masks) | 100 | * wHubCharacteristics (masks) |