summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhcivar.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-08-16 22:08:50 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-08-16 22:08:50 +0000
commitd91d986d9cd78adbf8a71dcbaaca39948318f45a (patch)
treee3673610b81ca09c0f766c1b0f8f14f5b10f8f93 /sys/dev/usb/uhcivar.h
parentd0975f9b73b5bdeadb661c2c461eba0d46eea925 (diff)
Sync with NetBSD. Mostly FreeBSD related changes.
Diffs sent to augustsson.
Diffstat (limited to 'sys/dev/usb/uhcivar.h')
-rw-r--r--sys/dev/usb/uhcivar.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/usb/uhcivar.h b/sys/dev/usb/uhcivar.h
index 0ef9e2c33f4..d81af2589af 100644
--- a/sys/dev/usb/uhcivar.h
+++ b/sys/dev/usb/uhcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhcivar.h,v 1.1 1999/08/13 05:28:04 fgsch Exp $ */
+/* $OpenBSD: uhcivar.h,v 1.2 1999/08/16 22:08:49 fgsch Exp $ */
/* $NetBSD: uhcivar.h,v 1.7 1999/06/26 08:30:18 augustss Exp $ */
/*
@@ -117,16 +117,13 @@ struct uhci_vframe {
typedef struct uhci_softc {
struct usbd_bus sc_bus; /* base device */
-#if defined(__NetBSD__) || defined(__OpenBSD__)
- void *sc_ih; /* interrupt vectoring */
bus_space_tag_t iot;
bus_space_handle_t ioh;
+#if defined(__NetBSD__) || defined(__OpenBSD__)
+ void *sc_ih; /* interrupt vectoring */
bus_dma_tag_t sc_dmatag; /* DMA tag */
/* XXX should keep track of all DMA memory */
-#elif defined(__FreeBSD__)
- int sc_iobase;
- int unit;
#endif /* defined(__FreeBSD__) */
uhci_physaddr_t *sc_pframes;