summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ohcivar.h
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-01-07 23:07:57 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-01-07 23:07:57 +0000
commitf85edabd28f8c9ebaeed20a6bdb7ddef1ff1c098 (patch)
treec8f677155dd2322c9b2477c85e8f2959ef963429 /sys/dev/usb/ohcivar.h
parentb118bd4907acdfd7a8cb3f83f50f0219e395b4a3 (diff)
downloadFreeBSD-src-f85edabd28f8c9ebaeed20a6bdb7ddef1ff1c098.zip
FreeBSD-src-f85edabd28f8c9ebaeed20a6bdb7ddef1ff1c098.tar.gz
Major synchronisation with NetBSD USB code
Diffstat (limited to 'sys/dev/usb/ohcivar.h')
-rw-r--r--sys/dev/usb/ohcivar.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h
index 7edbad4..db8631f 100644
--- a/sys/dev/usb/ohcivar.h
+++ b/sys/dev/usb/ohcivar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ohcivar.h,v 1.3 1998/11/25 22:32:04 augustss Exp $ */
+/* $NetBSD: ohcivar.h,v 1.4 1998/12/26 12:53:01 augustss Exp $ */
/* FreeBSD $Id$ */
/*
@@ -74,13 +74,9 @@ typedef struct ohci_softc {
#elif defined(__FreeBSD__)
int sc_iobase;
int unit;
-#endif
+#endif /* __FreeBSD__ */
-#if defined(__NetBSD__)
usb_dma_t sc_hccadma;
-#elif defined(__FreeBSD__)
- void *sc_hccadma;
-#endif
struct ohci_hcca *sc_hcca;
ohci_soft_ed_t *sc_eds[OHCI_NO_EDS];
u_int sc_bws[OHCI_NO_INTRS];
@@ -112,7 +108,7 @@ int ohci_intr __P((void *));
#ifdef USB_DEBUG
#define DPRINTF(x) if (ohcidebug) printf x
#define DPRINTFN(n,x) if (ohcidebug>(n)) printf x
-int ohcidebug;
+extern int ohcidebug;
#else
#define DPRINTF(x)
#define DPRINTFN(n,x)
OpenPOWER on IntegriCloud