diff options
Diffstat (limited to 'drivers/usb/host/uhci-hcd.h')
-rw-r--r-- | drivers/usb/host/uhci-hcd.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/usb/host/uhci-hcd.h b/drivers/usb/host/uhci-hcd.h index bf9c5f9b508b..282f40b75881 100644 --- a/drivers/usb/host/uhci-hcd.h +++ b/drivers/usb/host/uhci-hcd.h | |||
@@ -345,9 +345,6 @@ enum uhci_rh_state { | |||
345 | 345 | ||
346 | /* | 346 | /* |
347 | * This describes the full uhci information. | 347 | * This describes the full uhci information. |
348 | * | ||
349 | * Note how the "proper" USB information is just | ||
350 | * a subset of what the full implementation needs. | ||
351 | */ | 348 | */ |
352 | struct uhci_hcd { | 349 | struct uhci_hcd { |
353 | 350 | ||
@@ -360,8 +357,6 @@ struct uhci_hcd { | |||
360 | struct dma_pool *qh_pool; | 357 | struct dma_pool *qh_pool; |
361 | struct dma_pool *td_pool; | 358 | struct dma_pool *td_pool; |
362 | 359 | ||
363 | struct usb_bus *bus; | ||
364 | |||
365 | struct uhci_td *term_td; /* Terminating TD, see UHCI bug */ | 360 | struct uhci_td *term_td; /* Terminating TD, see UHCI bug */ |
366 | struct uhci_qh *skelqh[UHCI_NUM_SKELQH]; /* Skeleton QH's */ | 361 | struct uhci_qh *skelqh[UHCI_NUM_SKELQH]; /* Skeleton QH's */ |
367 | 362 | ||
@@ -380,6 +375,8 @@ struct uhci_hcd { | |||
380 | unsigned int scan_in_progress:1; /* Schedule scan is running */ | 375 | unsigned int scan_in_progress:1; /* Schedule scan is running */ |
381 | unsigned int need_rescan:1; /* Redo the schedule scan */ | 376 | unsigned int need_rescan:1; /* Redo the schedule scan */ |
382 | unsigned int hc_inaccessible:1; /* HC is suspended or dead */ | 377 | unsigned int hc_inaccessible:1; /* HC is suspended or dead */ |
378 | unsigned int working_RD:1; /* Suspended root hub doesn't | ||
379 | need to be polled */ | ||
383 | 380 | ||
384 | /* Support for port suspend/resume/reset */ | 381 | /* Support for port suspend/resume/reset */ |
385 | unsigned long port_c_suspend; /* Bit-arrays of ports */ | 382 | unsigned long port_c_suspend; /* Bit-arrays of ports */ |
@@ -405,9 +402,7 @@ struct uhci_hcd { | |||
405 | /* List of URB's awaiting completion callback */ | 402 | /* List of URB's awaiting completion callback */ |
406 | struct list_head complete_list; /* P: uhci->lock */ | 403 | struct list_head complete_list; /* P: uhci->lock */ |
407 | 404 | ||
408 | int rh_numports; | 405 | int rh_numports; /* Number of root-hub ports */ |
409 | |||
410 | struct timer_list stall_timer; | ||
411 | 406 | ||
412 | wait_queue_head_t waitqh; /* endpoint_disable waiters */ | 407 | wait_queue_head_t waitqh; /* endpoint_disable waiters */ |
413 | }; | 408 | }; |