diff options
author | phk <phk@FreeBSD.org> | 2000-05-05 09:59:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-05-05 09:59:14 +0000 |
commit | 36c3965ff904c2677211575be5bfa7d3afe80d19 (patch) | |
tree | dc425a5c4e6ca4b753b2fc7c6c3057c50cbbeb92 /sys/cam | |
parent | 5ea491d29e5d066f5e0a88aeb886dbe04c7ada92 (diff) | |
download | FreeBSD-src-36c3965ff904c2677211575be5bfa7d3afe80d19.zip FreeBSD-src-36c3965ff904c2677211575be5bfa7d3afe80d19.tar.gz |
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
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/cam_periph.c | 1 | ||||
-rw-r--r-- | sys/cam/scsi/scsi_cd.c | 2 | ||||
-rw-r--r-- | sys/cam/scsi/scsi_da.c | 2 | ||||
-rw-r--r-- | sys/cam/scsi/scsi_pass.c | 2 | ||||
-rw-r--r-- | sys/cam/scsi/scsi_pt.c | 2 | ||||
-rw-r--r-- | sys/cam/scsi/scsi_sa.c | 2 | ||||
-rw-r--r-- | sys/cam/scsi/scsi_targ_bh.c | 2 | ||||
-rw-r--r-- | sys/cam/scsi/scsi_target.c | 2 |
8 files changed, 8 insertions, 7 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index 080912b..58ca810c 100644 --- a/sys/cam/cam_periph.c +++ b/sys/cam/cam_periph.c @@ -34,6 +34,7 @@ #include <sys/types.h> #include <sys/malloc.h> #include <sys/linker_set.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/proc.h> #include <sys/devicestat.h> diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c index 0ca386a..3bd9437 100644 --- a/sys/cam/scsi/scsi_cd.c +++ b/sys/cam/scsi/scsi_cd.c @@ -51,7 +51,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/conf.h> #include <sys/disk.h> #include <sys/malloc.h> diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 53ce964..94ed4af 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -33,7 +33,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/devicestat.h> #include <sys/conf.h> #include <sys/disk.h> diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c index fe9015c..46847f3 100644 --- a/sys/cam/scsi/scsi_pass.c +++ b/sys/cam/scsi/scsi_pass.c @@ -31,7 +31,7 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/types.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/malloc.h> #include <sys/fcntl.h> #include <sys/stat.h> diff --git a/sys/cam/scsi/scsi_pt.c b/sys/cam/scsi/scsi_pt.c index 2f6e4db..8f51ea8 100644 --- a/sys/cam/scsi/scsi_pt.c +++ b/sys/cam/scsi/scsi_pt.c @@ -33,7 +33,7 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/types.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/devicestat.h> #include <sys/malloc.h> #include <sys/conf.h> diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c index 1b9a9d0..f5d9f6d 100644 --- a/sys/cam/scsi/scsi_sa.c +++ b/sys/cam/scsi/scsi_sa.c @@ -36,7 +36,7 @@ #include <sys/kernel.h> #endif #include <sys/types.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/malloc.h> #include <sys/mtio.h> #include <sys/conf.h> diff --git a/sys/cam/scsi/scsi_targ_bh.c b/sys/cam/scsi/scsi_targ_bh.c index a5a3797..ba80ac1 100644 --- a/sys/cam/scsi/scsi_targ_bh.c +++ b/sys/cam/scsi/scsi_targ_bh.c @@ -34,7 +34,7 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/types.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/conf.h> #include <sys/devicestat.h> #include <sys/malloc.h> diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c index db06444..db27cac 100644 --- a/sys/cam/scsi/scsi_target.c +++ b/sys/cam/scsi/scsi_target.c @@ -34,7 +34,7 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/types.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/conf.h> #include <sys/devicestat.h> #include <sys/malloc.h> |