aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/usb-xhci.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-12-27 21:46:35 -0500
committerKevin O'Connor <kevin@koconnor.net>2014-01-29 12:57:01 -0500
commit20aeae7d3752788bde86a331e50c1ec1f4c9a673 (patch)
treeacae79e132cb5966fd80446bcf73e5f680bb7554 /src/hw/usb-xhci.h
parent81ee3bb7557af1bb0ad9e20c31c5d796d810d00d (diff)
downloadseabios-20aeae7d3752788bde86a331e50c1ec1f4c9a673.tar.gz
xhci: Support xhci controllers with 64 byte contexts.
At least some real-world controllers require 64 byte contexts. Detect this case and handle it appropriately. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb-xhci.h')
-rw-r--r--src/hw/usb-xhci.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/hw/usb-xhci.h b/src/hw/usb-xhci.h
index be6094cf..bd98d173 100644
--- a/src/hw/usb-xhci.h
+++ b/src/hw/usb-xhci.h
@@ -104,12 +104,6 @@ struct xhci_epctx {
u32 reserved_01[3];
} PACKED;
-// device context
-struct xhci_devctx {
- struct xhci_slotctx slot;
- struct xhci_epctx ep[31];
-} PACKED;
-
// device context array element
struct xhci_devlist {
u32 ptr_low;
@@ -121,8 +115,6 @@ struct xhci_inctx {
u32 del;
u32 add;
u32 reserved_01[6];
- struct xhci_slotctx slot;
- struct xhci_epctx ep[31];
} PACKED;
// transfer block (ring element)