aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/ehcivar.h
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2005-09-24 14:49:36 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2005-09-24 14:49:36 +0000
commit16f309f0e2542bd801153de953e6ebdb7af9bfa5 (patch)
tree7441dc802dbd5c271b54ab0260ff735276045472 /sys/dev/usb/ehcivar.h
parent7c4847b792f1fa46a1b96f1d43e441c17102b5b4 (diff)
downloadsrc-16f309f0e2542bd801153de953e6ebdb7af9bfa5.tar.gz
src-16f309f0e2542bd801153de953e6ebdb7af9bfa5.zip
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
Notes
Notes: svn path=/head/; revision=150515
Diffstat (limited to 'sys/dev/usb/ehcivar.h')
-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 e6f2a0a57a84..f7a202990323 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];