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/dev/ida | |
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/dev/ida')
-rw-r--r-- | sys/dev/ida/ida.c | 2 | ||||
-rw-r--r-- | sys/dev/ida/ida_disk.c | 2 | ||||
-rw-r--r-- | sys/dev/ida/ida_eisa.c | 2 | ||||
-rw-r--r-- | sys/dev/ida/ida_pci.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c index e76c56a..d10986c 100644 --- a/sys/dev/ida/ida.c +++ b/sys/dev/ida/ida.c @@ -44,7 +44,7 @@ #include <sys/systm.h> #include <sys/malloc.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/bus.h> #include <sys/devicestat.h> #include <sys/disk.h> diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c index 72a6f04..47e32a9 100644 --- a/sys/dev/ida/ida_disk.c +++ b/sys/dev/ida/ida_disk.c @@ -34,7 +34,7 @@ #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/bus.h> #include <sys/conf.h> #include <sys/devicestat.h> diff --git a/sys/dev/ida/ida_eisa.c b/sys/dev/ida/ida_eisa.c index fd3fd29..93b8bdf 100644 --- a/sys/dev/ida/ida_eisa.c +++ b/sys/dev/ida/ida_eisa.c @@ -32,7 +32,7 @@ #include <sys/kernel.h> #include <sys/bus.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/devicestat.h> #include <sys/disk.h> diff --git a/sys/dev/ida/ida_pci.c b/sys/dev/ida/ida_pci.c index 0bb7e9f..04cf5c7 100644 --- a/sys/dev/ida/ida_pci.c +++ b/sys/dev/ida/ida_pci.c @@ -30,7 +30,7 @@ #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/buf.h> +#include <sys/bio.h> #include <sys/bus.h> #include <sys/devicestat.h> #include <sys/disk.h> |