summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>1999-05-03 23:12:49 +0000
committerNick Hibma <n_hibma@FreeBSD.org>1999-05-03 23:12:49 +0000
commitf018dbb4d90d99885c2eb394e0f6e65596b1152b (patch)
treeaa6047d0dee6b16d6a098ecbe64c92dd233f64d9 /sys
parent7b3849971ad4bbd9d3ca4c86637964ae67eddad2 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/uhcivar.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/uhcivar.h b/sys/dev/usb/uhcivar.h
index 89fed85c6b35..816952623f7f 100644
--- a/sys/dev/usb/uhcivar.h
+++ b/sys/dev/usb/uhcivar.h
@@ -119,15 +119,14 @@ typedef struct uhci_softc {
struct usbd_bus sc_bus; /* base device */
#if defined(__NetBSD__)
void *sc_ih; /* interrupt vectoring */
+#endif
bus_space_tag_t iot;
bus_space_handle_t ioh;
+#if defined(__NetBSD__)
bus_dma_tag_t sc_dmatag; /* DMA tag */
/* XXX should keep track of all DMA memory */
-#elif defined(__FreeBSD__)
- bus_space_tag_t iot;
- bus_space_handle_t ioh;
-#endif /* defined(__FreeBSD__) */
+#endif
uhci_physaddr_t *sc_pframes;
struct uhci_vframe sc_vframes[UHCI_VFRAMELIST_COUNT];