summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-05-07 20:17:30 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-05-07 20:17:30 +0000
commitc5cb9b7f77ae483646529350284c050ea7b481aa (patch)
tree53137713563810ba40cdf48fc189536177d1a434 /sys/dev/usb
parentd9cfc650630464627df346b97c4dd728a95818bb (diff)
downloadFreeBSD-src-c5cb9b7f77ae483646529350284c050ea7b481aa.zip
FreeBSD-src-c5cb9b7f77ae483646529350284c050ea7b481aa.tar.gz
Add the fields needed to store the cookies.
Diffstat (limited to 'sys/dev/usb')
-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 7860876..22cb1fe 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 30ba97d..bfd6a07 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;
OpenPOWER on IntegriCloud