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 f9098a24d38b..a2cc76741695 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -560,6 +560,11 @@ struct xhci_slot_ctx {
560#define SLOT_STATE (0x1f << 27) 560#define SLOT_STATE (0x1f << 27)
561#define GET_SLOT_STATE(p) (((p) & (0x1f << 27)) >> 27) 561#define GET_SLOT_STATE(p) (((p) & (0x1f << 27)) >> 27)
562 562
563#define SLOT_STATE_DISABLED 0
564#define SLOT_STATE_ENABLED SLOT_STATE_DISABLED
565#define SLOT_STATE_DEFAULT 1
566#define SLOT_STATE_ADDRESSED 2
567#define SLOT_STATE_CONFIGURED 3
563 568
564/** 569/**
565 * struct xhci_ep_ctx 570 * struct xhci_ep_ctx
@@ -1309,6 +1314,7 @@ struct xhci_hcd {
1309 * commands. 1314 * commands.
1310 */ 1315 */
1311#define XHCI_EP_LIMIT_QUIRK (1 << 5) 1316#define XHCI_EP_LIMIT_QUIRK (1 << 5)
1317#define XHCI_BROKEN_MSI (1 << 6)
1312 unsigned int num_active_eps; 1318 unsigned int num_active_eps;
1313 unsigned int limit_active_eps; 1319 unsigned int limit_active_eps;
1314 /* There are two roothubs to keep track of bus suspend info for */ 1320 /* There are two roothubs to keep track of bus suspend info for */