aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r--drivers/usb/host/xhci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index e81ccfa3552f..e44e2d3c83b0 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1510,6 +1510,7 @@ struct xhci_hcd {
1510#define XHCI_LPM_SUPPORT (1 << 11) 1510#define XHCI_LPM_SUPPORT (1 << 11)
1511#define XHCI_INTEL_HOST (1 << 12) 1511#define XHCI_INTEL_HOST (1 << 12)
1512#define XHCI_SPURIOUS_REBOOT (1 << 13) 1512#define XHCI_SPURIOUS_REBOOT (1 << 13)
1513#define XHCI_COMP_MODE_QUIRK (1 << 14)
1513 unsigned int num_active_eps; 1514 unsigned int num_active_eps;
1514 unsigned int limit_active_eps; 1515 unsigned int limit_active_eps;
1515 /* There are two roothubs to keep track of bus suspend info for */ 1516 /* There are two roothubs to keep track of bus suspend info for */
@@ -1526,6 +1527,11 @@ struct xhci_hcd {
1526 unsigned sw_lpm_support:1; 1527 unsigned sw_lpm_support:1;
1527 /* support xHCI 1.0 spec USB2 hardware LPM */ 1528 /* support xHCI 1.0 spec USB2 hardware LPM */
1528 unsigned hw_lpm_support:1; 1529 unsigned hw_lpm_support:1;
1530 /* Compliance Mode Recovery Data */
1531 struct timer_list comp_mode_recovery_timer;
1532 u32 port_status_u0;
1533/* Compliance Mode Timer Triggered every 2 seconds */
1534#define COMP_MODE_RCVRY_MSECS 2000
1529}; 1535};
1530 1536
1531/* convert between an HCD pointer and the corresponding EHCI_HCD */ 1537/* convert between an HCD pointer and the corresponding EHCI_HCD */