summaryrefslogtreecommitdiffstats
path: root/sys/i4b
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-24 17:30:08 +0000
committerobrien <obrien@FreeBSD.org>2000-04-24 17:30:08 +0000
commita8c8e00c91ee3b7567d3dd2ad6c6394f041928cb (patch)
tree7ec8e4f2ec6e1369ecd37b47e7b485d868935e25 /sys/i4b
parentf85fa734fac6ee4d477cc35cbd5f6792ee363275 (diff)
downloadFreeBSD-src-a8c8e00c91ee3b7567d3dd2ad6c6394f041928cb.zip
FreeBSD-src-a8c8e00c91ee3b7567d3dd2ad6c6394f041928cb.tar.gz
* Use sys/sys/random.h rather than a i386 specific one.
* There was nothing that should be machine dependant about i386/isa/random_machdep.c, so it is now sys/kern/kern_random.c.
Diffstat (limited to 'sys/i4b')
-rw-r--r--sys/i4b/layer2/i4b_tei.c5
-rw-r--r--sys/i4b/layer4/i4b_l4mgmt.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/i4b/layer2/i4b_tei.c b/sys/i4b/layer2/i4b_tei.c
index fd813c8..98f9b00 100644
--- a/sys/i4b/layer2/i4b_tei.c
+++ b/sys/i4b/layer2/i4b_tei.c
@@ -46,6 +46,7 @@
#if defined(__FreeBSD__)
#include <sys/ioccom.h>
+#include <sys/random.h>
#else
#include <sys/ioctl.h>
#endif
@@ -65,10 +66,6 @@
#include <i4b/i4b_ioctl.h>
#endif
-#if defined(__FreeBSD__)
-#include <machine/random.h>
-#endif
-
#include <i4b/include/i4b_global.h>
#include <i4b/include/i4b_l1l2.h>
#include <i4b/include/i4b_l2l3.h>
diff --git a/sys/i4b/layer4/i4b_l4mgmt.c b/sys/i4b/layer4/i4b_l4mgmt.c
index 064a1f0..cde2451 100644
--- a/sys/i4b/layer4/i4b_l4mgmt.c
+++ b/sys/i4b/layer4/i4b_l4mgmt.c
@@ -43,6 +43,7 @@
#if defined(__FreeBSD__)
#include <sys/ioccom.h>
+#include <sys/random.h>
#else
#include <sys/ioctl.h>
#endif
@@ -54,10 +55,6 @@
#include <net/if.h>
#ifdef __FreeBSD__
-#include <machine/random.h>
-#endif
-
-#ifdef __FreeBSD__
#include <machine/i4b_debug.h>
#include <machine/i4b_ioctl.h>
#else
OpenPOWER on IntegriCloud