Index: uspace/drv/bus/usb/xhci/hw_struct/context.h
===================================================================
--- uspace/drv/bus/usb/xhci/hw_struct/context.h	(revision c280d7e51f5b91994557a7515f968b6e9c07544c)
+++ uspace/drv/bus/usb/xhci/hw_struct/context.h	(revision 60d3f359edf3beef1db0f60cb5ade137997c2a1f)
@@ -189,4 +189,10 @@
 #define XHCI_GET_EP_CTX(dev_ctx, hc, dci) (xhci_ep_ctx_t *)((char*)dev_ctx + (dci + XHCI_EP_ARRAY_OFFSET) * XHCI_ONE_CTX_SIZE(hc))
 
+/**
+ * As control, slot and endpoint contexts differ in size on different HCs,
+ * we need to use macros to access them at the correct offsets. The following
+ * empty structs (xhci_device_ctx_t and xhci_input_ctx_t) are used only as
+ * void pointers for type-checking.
+ */
 typedef struct xhci_device_ctx {
 } xhci_device_ctx_t;
