From 16f309f0e2542bd801153de953e6ebdb7af9bfa5 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Sat, 24 Sep 2005 14:49:36 +0000 Subject: [PATCH] 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 --- sys/dev/usb/ehcivar.h | 2 ++ 1 file changed, 2 insertions(+) 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];