aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>1999-08-28 11:31:21 +0000
committerNick Hibma <n_hibma@FreeBSD.org>1999-08-28 11:31:21 +0000
commitf748f71688700330aa221c2de239540b42e41fa2 (patch)
treec68f2c607f05e4d33193a5cb44c36a90ad581f27 /sys/dev/usb
parentd8f6a90a74f9351e365be416ef3e28f84c144725 (diff)
Notes
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ohcivar.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h
index b485f50eabe99..5f81000c122a2 100644
--- a/sys/dev/usb/ohcivar.h
+++ b/sys/dev/usb/ohcivar.h
@@ -63,18 +63,17 @@ typedef struct ohci_soft_td {
typedef struct ohci_softc {
struct usbd_bus sc_bus; /* base device */
-#if defined(__NetBSD__)
- void *sc_ih; /* interrupt vectoring */
bus_space_tag_t iot;
bus_space_handle_t ioh;
+#if defined(__NetBSD__)
+ void *sc_ih; /* interrupt vectoring */
bus_dma_tag_t sc_dmatag; /* DMA tag */
/* XXX should keep track of all DMA memory */
+#endif /* __FreeBSD__ */
-#elif defined(__FreeBSD__)
bus_space_tag_t iot;
bus_space_handle_t ioh;
-#endif /* __FreeBSD__ */
usb_dma_t sc_hccadma;
struct ohci_hcca *sc_hcca;