aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/tc
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-05-05 09:59:14 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-05-05 09:59:14 +0000
commit9626b608de4a43ec9984c3ee95b2ce624b3c0924 (patch)
treeb1e53d453112b9bf26ef95be27ea84f2e9bdacf0 /sys/alpha/tc
parent33a0a551d439227028f2280faebe76b81c857cca (diff)
downloadsrc-9626b608de4a43ec9984c3ee95b2ce624b3c0924.tar.gz
src-9626b608de4a43ec9984c3ee95b2ce624b3c0924.zip
Separate the struct bio related stuff out of <sys/buf.h> into
<sys/bio.h>. <sys/bio.h> is now a prerequisite for <sys/buf.h> but it shall not be made a nested include according to bdes teachings on the subject of nested includes. Diskdrivers and similar stuff below specfs::strategy() should no longer need to include <sys/buf.> unless they need caching of data. Still a few bogus uses of struct buf to track down. Repocopy by: peter
Notes
Notes: svn path=/head/; revision=60041
Diffstat (limited to 'sys/alpha/tc')
-rw-r--r--sys/alpha/tc/esp.c1
-rw-r--r--sys/alpha/tc/tcds_dma.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/tc/esp.c b/sys/alpha/tc/esp.c
index 99eb45fb2d86..e956811005f1 100644
--- a/sys/alpha/tc/esp.c
+++ b/sys/alpha/tc/esp.c
@@ -49,6 +49,7 @@
#include <sys/errno.h>
/*#include <sys/ioctl.h>*/
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/proc.h>
/*#include <sys/user.h>*/
diff --git a/sys/alpha/tc/tcds_dma.c b/sys/alpha/tc/tcds_dma.c
index 00386fddfe57..cab19b4f3e7c 100644
--- a/sys/alpha/tc/tcds_dma.c
+++ b/sys/alpha/tc/tcds_dma.c
@@ -38,6 +38,7 @@
#include <sys/errno.h>
#include <sys/malloc.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <machine/clock.h>