2001-02-11 01:13:07

by Lukasz Trabinski

[permalink] [raw]
Subject: 2.2.19pre9 & aic7xxx

Hello
In linux/drivers/scsi/hosts.c we have line:
#include "aic7xxx.h" and during compilation we gets a error:

hosts.c:139: aic7xxx.h: No such file or directory
hosts.c:500: `AIC7XXX' undeclared here (not in a function)
hosts.c:500: initializer element for `builtin_scsi_hosts[0]' is not
constant
make[3]: *** [hosts.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2


and IMHO shuld be:

#include "aic7xxx/aic7xxx.h"

there is super little patch :-)

diff -ur linux.org/drivers/scsi/hosts.c linux/drivers/scsi/hosts.c
--- linux.org/drivers/scsi/hosts.c Sun Feb 11 02:06:02 2001
+++ linux/drivers/scsi/hosts.c Sun Feb 11 02:08:05 2001
@@ -136,7 +136,7 @@
#endif

#ifdef CONFIG_SCSI_AIC7XXX
-#include "aic7xxx.h"
+#include "aic7xxx/aic7xxx.h"
#endif

#ifdef CONFIG_SCSI_IPS



--
*[ ?ukasz Tr?bi?ski ]*
SysAdmin @wsisiz.edu.pl


2001-02-11 21:09:39

by Andreas Tobler

[permalink] [raw]
Subject: Re: 2.2.19pre9

Was there an anouncement for pre9?
Did I miss it?

Andreas