summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-09-24 14:49:36 +0000
committernetchild <netchild@FreeBSD.org>2005-09-24 14:49:36 +0000
commit479d185b1e0a377b3a32108f340adf8a0ee581af (patch)
tree7441dc802dbd5c271b54ab0260ff735276045472 /sys/dev
parent6dda8fcf04bddbd92cebe5c871f410291e0def43 (diff)
downloadFreeBSD-src-479d185b1e0a377b3a32108f340adf8a0ee581af.zip
FreeBSD-src-479d185b1e0a377b3a32108f340adf8a0ee581af.tar.gz
This part of the struct isn't needed on FreeBSD:
---snip--- FYI this bit isn't needed for FreeBSD - I think it came from either OpenBSD or NetBSD where arc4random() wasn't available during cold boot. ---snip--- Explained by: iedowse
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ehcivar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/ehcivar.h b/sys/dev/usb/ehcivar.h
index e6f2a0a..f7a2029 100644
--- a/sys/dev/usb/ehcivar.h
+++ b/sys/dev/usb/ehcivar.h
@@ -125,7 +125,9 @@ typedef struct ehci_softc {
usb_dma_t sc_fldma;
ehci_link_t *sc_flist;
u_int sc_flsize;
+#ifndef __FreeBSD__
u_int sc_rand; /* XXX need proper intr scheduling */
+#endif
struct ehci_soft_islot sc_islots[EHCI_INTRQHS];
OpenPOWER on IntegriCloud