summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorenami <enami@NetBSD.org>2000-10-09 14:31:01 +0000
committerenami <enami@NetBSD.org>2000-10-09 14:31:01 +0000
commitdb6fba6bdf351da2e7873efe31808fe7d4601a53 (patch)
tree109baa440bea7759d640970ab179a1d70781e34a /sys/dev
parentca88e2b6bd37940c1d9f944e1362d0c7ab7ce9cc (diff)
Move inclusion of rnd.h and sys/rnd.h from tulip.c to tulipvar.h.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/tulip.c7
-rw-r--r--sys/dev/ic/tulipvar.h8
2 files changed, 8 insertions, 7 deletions
diff --git a/sys/dev/ic/tulip.c b/sys/dev/ic/tulip.c
index 39b5edd723d..e1ee07c603f 100644
--- a/sys/dev/ic/tulip.c
+++ b/sys/dev/ic/tulip.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tulip.c,v 1.76 2000/10/09 12:54:28 enami Exp $ */
+/* $NetBSD: tulip.c,v 1.77 2000/10/09 14:31:01 enami Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -45,7 +45,6 @@
#include "opt_inet.h"
#include "opt_ns.h"
#include "bpfilter.h"
-#include "rnd.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -62,10 +61,6 @@
#include <uvm/uvm_extern.h>
-#if NRND > 0
-#include <sys/rnd.h>
-#endif
-
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_media.h>
diff --git a/sys/dev/ic/tulipvar.h b/sys/dev/ic/tulipvar.h
index 92f7d4b143e..d07591afc5f 100644
--- a/sys/dev/ic/tulipvar.h
+++ b/sys/dev/ic/tulipvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: tulipvar.h,v 1.39 2000/10/09 12:54:28 enami Exp $ */
+/* $NetBSD: tulipvar.h,v 1.40 2000/10/09 14:31:02 enami Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -40,9 +40,15 @@
#ifndef _DEV_IC_TULIPVAR_H_
#define _DEV_IC_TULIPVAR_H_
+#include "rnd.h"
+
#include <sys/queue.h>
#include <sys/callout.h>
+#if NRND > 0
+#include <sys/rnd.h>
+#endif
+
/*
* Misc. definitions for the Digital Semiconductor ``Tulip'' (21x4x)
* Ethernet controller family driver.