summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb/ohcivar.h7
-rw-r--r--sys/dev/usb/uhcivar.h6
2 files changed, 13 insertions, 0 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h
index 7860876f8d73..22cb1feafc4f 100644
--- a/sys/dev/usb/ohcivar.h
+++ b/sys/dev/usb/ohcivar.h
@@ -79,6 +79,13 @@ typedef struct ohci_softc {
bus_space_tag_t iot;
bus_space_handle_t ioh;
+#if defined(__FreeBSD__)
+ void *ih;
+
+ struct resource *io_res;
+ struct resource *irq_res;
+#endif
+
usb_dma_t sc_hccadma;
struct ohci_hcca *sc_hcca;
ohci_soft_ed_t *sc_eds[OHCI_NO_EDS];
diff --git a/sys/dev/usb/uhcivar.h b/sys/dev/usb/uhcivar.h
index 30ba97d7325f..bfd6a07c7ee3 100644
--- a/sys/dev/usb/uhcivar.h
+++ b/sys/dev/usb/uhcivar.h
@@ -130,6 +130,12 @@ typedef struct uhci_softc {
struct usbd_bus sc_bus; /* base device */
bus_space_tag_t iot;
bus_space_handle_t ioh;
+#if defined(__FreeBSD__)
+ void *ih;
+
+ struct resource *io_res;
+ struct resource *irq_res;
+#endif
uhci_physaddr_t *sc_pframes;
usb_dma_t sc_dma;