]> Pileus Git - ~andy/linux/blobdiff - drivers/usb/host/uhci-hcd.h
USB: UHCI: Allow dynamic assignment of bus specific functions
[~andy/linux] / drivers / usb / host / uhci-hcd.h
index f86db61cf085668f442299292f6ee4c927b758c7..569437954578e0fd31f2114a8e2961b2408ed398 100644 (file)
@@ -433,6 +433,16 @@ struct uhci_hcd {
 
        int total_load;                         /* Sum of array values */
        short load[MAX_PHASE];                  /* Periodic allocations */
+
+       /* Reset host controller */
+       void    (*reset_hc) (struct uhci_hcd *uhci);
+       int     (*check_and_reset_hc) (struct uhci_hcd *uhci);
+       /* configure_hc should perform arch specific settings, if needed */
+       void    (*configure_hc) (struct uhci_hcd *uhci);
+       /* Check for broken resume detect interrupts */
+       int     (*resume_detect_interrupts_are_broken) (struct uhci_hcd *uhci);
+       /* Check for broken global suspend */
+       int     (*global_suspend_mode_is_broken) (struct uhci_hcd *uhci);
 };
 
 /* Convert between a usb_hcd pointer and the corresponding uhci_hcd */