From 08febfa74194818eebe9abd24c658aebc27520cb Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 23 Mar 1997 04:40:00 +0000 Subject: [PATCH] Removed nested #include of from and fixed everything that depended on getting it from the wrong place. Most of the broken things actually only depended on getting the declaration of their interrupt handler from "ioconf.h". --- sys/i386/isa/aha1542.c | 4 +++- sys/i386/isa/aic6360.c | 4 +++- sys/i386/isa/bt5xx-445.c | 4 +++- sys/i386/isa/ncr5380.c | 2 ++ sys/i386/isa/seagate.c | 4 +++- sys/i386/isa/ultra14f.c | 4 +++- sys/i386/isa/wd7000.c | 2 ++ sys/scsi/ch.c | 3 ++- sys/scsi/scsi_driver.h | 4 +--- 9 files changed, 22 insertions(+), 9 deletions(-) diff --git a/sys/i386/isa/aha1542.c b/sys/i386/isa/aha1542.c index c6c955062e6..517882b7ce6 100644 --- a/sys/i386/isa/aha1542.c +++ b/sys/i386/isa/aha1542.c @@ -12,7 +12,7 @@ * on the understanding that TFS is not responsible for the correct * functioning of this software in any circumstances. * - * $Id$ + * $Id: aha1542.c,v 1.66 1997/02/22 09:35:52 peter Exp $ */ /* @@ -49,6 +49,8 @@ #define NAHA 1 #endif /*KERNEL */ +#include "ioconf.h" + /************************** board definitions *******************************/ /* diff --git a/sys/i386/isa/aic6360.c b/sys/i386/isa/aic6360.c index 84a4c4bac71..ee3f13f7d7b 100644 --- a/sys/i386/isa/aic6360.c +++ b/sys/i386/isa/aic6360.c @@ -31,7 +31,7 @@ */ /* - * $Id$ + * $Id: aic6360.c,v 1.26 1997/02/22 09:35:55 peter Exp $ * * Acknowledgements: Many of the algorithms used in this driver are * inspired by the work of Julian Elischer (julian@tfs.com) and @@ -133,6 +133,8 @@ #include +#include "ioconf.h" + /* Definitions, most of them has turned out to be unneccesary, but here they * are anyway. */ diff --git a/sys/i386/isa/bt5xx-445.c b/sys/i386/isa/bt5xx-445.c index 0877a411bd3..cd6f23f748c 100644 --- a/sys/i386/isa/bt5xx-445.c +++ b/sys/i386/isa/bt5xx-445.c @@ -12,7 +12,7 @@ * on the understanding that TFS is not responsible for the correct * functioning of this software in any circumstances. * - * $Id$ + * $Id: bt5xx-445.c,v 1.6 1997/02/22 09:35:58 peter Exp $ */ /* @@ -40,6 +40,8 @@ #include #include +#include "ioconf.h" + static int bt_isa_probe __P((struct isa_device *dev)); static int bt_isa_attach __P((struct isa_device *dev)); diff --git a/sys/i386/isa/ncr5380.c b/sys/i386/isa/ncr5380.c index 2b0dbf7237d..5a335e02f9b 100644 --- a/sys/i386/isa/ncr5380.c +++ b/sys/i386/isa/ncr5380.c @@ -55,6 +55,8 @@ #include #include +#include "ioconf.h" + #ifdef DEBUG # define PRINT(s) printf s #else diff --git a/sys/i386/isa/seagate.c b/sys/i386/isa/seagate.c index 2bdc48c5a4f..dff3dbafe00 100644 --- a/sys/i386/isa/seagate.c +++ b/sys/i386/isa/seagate.c @@ -60,7 +60,7 @@ * that category, with the possible exception of scanners and * some of the older MO drives. * - * $Id$ + * $Id: seagate.c,v 1.20 1997/02/22 09:37:05 peter Exp $ */ /* @@ -133,6 +133,8 @@ #include #include +#include "ioconf.h" + #ifdef DEBUG # define PRINT(s) printf s #else diff --git a/sys/i386/isa/ultra14f.c b/sys/i386/isa/ultra14f.c index 08204cdfcad..86316f25d23 100644 --- a/sys/i386/isa/ultra14f.c +++ b/sys/i386/isa/ultra14f.c @@ -22,7 +22,7 @@ * today: Fri Jun 2 17:21:03 EST 1994 * added 24F support ++sg * - * $Id$ + * $Id: ultra14f.c,v 1.51 1997/02/22 09:37:20 peter Exp $ */ #include @@ -49,6 +49,8 @@ #include #include +#include "ioconf.h" + /* */ #ifndef KERNEL diff --git a/sys/i386/isa/wd7000.c b/sys/i386/isa/wd7000.c index 22bd0e23ef6..c6175e67cde 100644 --- a/sys/i386/isa/wd7000.c +++ b/sys/i386/isa/wd7000.c @@ -71,6 +71,8 @@ #include +#include "ioconf.h" + static struct scsi_device wds_dev = { NULL, diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c index 9a0ac19aba9..87788c397fd 100644 --- a/sys/scsi/ch.c +++ b/sys/scsi/ch.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ch.c,v 1.36 1997/02/22 09:44:25 peter Exp $ + * $Id: ch.c,v 1.37 1997/03/06 15:36:14 joerg Exp $ */ #include "opt_scsi.h" @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #ifdef DEVFS diff --git a/sys/scsi/scsi_driver.h b/sys/scsi/scsi_driver.h index 652661f4a76..f6875da3a49 100644 --- a/sys/scsi/scsi_driver.h +++ b/sys/scsi/scsi_driver.h @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: scsi_driver.h,v 1.10 1997/02/22 09:44:31 peter Exp $ * */ #ifndef _SCSI__DRIVER_H_ @@ -43,8 +43,6 @@ #ifdef KERNEL -#include - struct scsi_link; struct scsi_device; struct buf;