summaryrefslogtreecommitdiff
path: root/src/sys/include/io/usb/xhcivar.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-11 18:54:34 -0400
committerIan Moffett <ian@osmora.org>2025-10-11 18:54:34 -0400
commitf07c51164e75ffa25b570e2233713b5a2cfa275a (patch)
treeffab76799d7604783d176b20b1c6e33b93f33c68 /src/sys/include/io/usb/xhcivar.h
parent306ce899c22efccea03a2ea196f8fa550383b40f (diff)
kern: xhci: Implement controller hard reset
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sys/include/io/usb/xhcivar.h b/src/sys/include/io/usb/xhcivar.h
index 5067063..c0b3a39 100644
--- a/src/sys/include/io/usb/xhcivar.h
+++ b/src/sys/include/io/usb/xhcivar.h
@@ -39,7 +39,9 @@
* @io: I/O space
*/
struct xhci_hcd {
- volatile void *io;
+ struct xhci_capregs *capspace;
};
+#define XHCI_TIMEOUT_MSEC 500
+
#endif /* !_USB_XHCIVAR_H_ */