diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/usb/host/whci/whci-hc.h | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/usb/host/whci/whci-hc.h')
-rw-r--r-- | drivers/usb/host/whci/whci-hc.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/usb/host/whci/whci-hc.h b/drivers/usb/host/whci/whci-hc.h index e8d0001605be..4d4cbc0730bf 100644 --- a/drivers/usb/host/whci/whci-hc.h +++ b/drivers/usb/host/whci/whci-hc.h | |||
@@ -172,14 +172,7 @@ struct whc_qhead { | |||
172 | #define QH_INFO3_MAX_DELAY(d) ((d) << 0) /* maximum stream delay in 125 us units (isoc only) */ | 172 | #define QH_INFO3_MAX_DELAY(d) ((d) << 0) /* maximum stream delay in 125 us units (isoc only) */ |
173 | #define QH_INFO3_INTERVAL(i) ((i) << 16) /* segment interval in 125 us units (isoc only) */ | 173 | #define QH_INFO3_INTERVAL(i) ((i) << 16) /* segment interval in 125 us units (isoc only) */ |
174 | 174 | ||
175 | #define QH_INFO3_TX_RATE_53_3 (0 << 24) | 175 | #define QH_INFO3_TX_RATE(r) ((r) << 24) /* PHY rate (see [ECMA-368] section 10.3.1.1) */ |
176 | #define QH_INFO3_TX_RATE_80 (1 << 24) | ||
177 | #define QH_INFO3_TX_RATE_106_7 (2 << 24) | ||
178 | #define QH_INFO3_TX_RATE_160 (3 << 24) | ||
179 | #define QH_INFO3_TX_RATE_200 (4 << 24) | ||
180 | #define QH_INFO3_TX_RATE_320 (5 << 24) | ||
181 | #define QH_INFO3_TX_RATE_400 (6 << 24) | ||
182 | #define QH_INFO3_TX_RATE_480 (7 << 24) | ||
183 | #define QH_INFO3_TX_PWR(p) ((p) << 29) /* transmit power (see [WUSB] section 5.2.1.2) */ | 176 | #define QH_INFO3_TX_PWR(p) ((p) << 29) /* transmit power (see [WUSB] section 5.2.1.2) */ |
184 | 177 | ||
185 | #define QH_STATUS_FLOW_CTRL (1 << 15) | 178 | #define QH_STATUS_FLOW_CTRL (1 << 15) |
@@ -267,8 +260,9 @@ struct whc_qset { | |||
267 | unsigned reset:1; | 260 | unsigned reset:1; |
268 | struct urb *pause_after_urb; | 261 | struct urb *pause_after_urb; |
269 | struct completion remove_complete; | 262 | struct completion remove_complete; |
270 | int max_burst; | 263 | uint16_t max_packet; |
271 | int max_seq; | 264 | uint8_t max_burst; |
265 | uint8_t max_seq; | ||
272 | }; | 266 | }; |
273 | 267 | ||
274 | static inline void whc_qset_set_link_ptr(u64 *ptr, u64 target) | 268 | static inline void whc_qset_set_link_ptr(u64 *ptr, u64 target) |