summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>2000-05-07 20:17:30 +0000
committerNick Hibma <n_hibma@FreeBSD.org>2000-05-07 20:17:30 +0000
commit8feb725eb1ef4fac49cf4da10c541bd137e9c2d9 (patch)
treeece355f731ec653f5a4e5046076df8fdb827335d
parent659df154a5706555b2fd4a99fe7c2e35be5cf7c2 (diff)
Notes
-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;