diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-11 19:54:48 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-11 19:54:48 -0400 |
commit | ec64baba95195e4e124e4c9112fd286677f6fce5 (patch) | |
tree | 2c96719a857563de0398b14da855a1beff5f2d31 /src/sys/include/io/usb/xhcivar.h | |
parent | 0552d8126be3f2ea9f03098afb5cb77049c8d606 (diff) |
kern: usb: Extract HCSPARAMS1 register fields
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/io/usb/xhcivar.h')
-rw-r--r-- | src/sys/include/io/usb/xhcivar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys/include/io/usb/xhcivar.h b/src/sys/include/io/usb/xhcivar.h index c0b3a39..bc5f59b 100644 --- a/src/sys/include/io/usb/xhcivar.h +++ b/src/sys/include/io/usb/xhcivar.h @@ -37,9 +37,15 @@ * Represents the host controller * * @io: I/O space + * @max_slots: Max device slots + * @max_intrs: Max interrupters + * @max_ports: Max ports */ struct xhci_hcd { struct xhci_capregs *capspace; + uint8_t max_slots; + uint32_t max_intrs; + uint32_t max_ports; }; #define XHCI_TIMEOUT_MSEC 500 |