summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-05-03 23:12:49 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-05-03 23:12:49 +0000
commit3d37d2bd8204981567067a4c813900ed4ec30334 (patch)
tree677399e19e35b7ef3cfe172b573d587f96374ab0 /sys/dev/usb
parent532c7c21197c3f4b195aaaecd76d3dc5bb9fe935 (diff)
downloadFreeBSD-src-3d37d2bd8204981567067a4c813900ed4ec30334.zip
FreeBSD-src-3d37d2bd8204981567067a4c813900ed4ec30334.tar.gz
Clean up parts of struct shared between NetBSD and FreeBSD
Diffstat (limited to 'sys/dev/usb')
-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 89fed85..8169526 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];
OpenPOWER on IntegriCloud