Re: 2.1.96 aic7xxx.c errors

Doug Ledford (dledford@dialnet.net)
Thu, 16 Apr 1998 05:43:01 -0500


Jon P. deOng wrote:
>
> anyone have problems with the aic7xxx drivers ..heres my error
>
> aic7xxx.c: In function 'aic7xxx_download_inst':
> aic7xxx.c:14399: 'DOWNLOAD_CONST_IMMEDIATE' undelcared (first use this
> function)
> aic7xxx.c:14399: (Each undeclared identifier is reported only once
> aic7xxx.c:14399: for each function it appears in.)
> aic7xxx.c:14399: warning 'opcode' might be used uninitialized in this function
> make[3]: *** [aic7xxx.o] Error 1

You're kernel source for the aic7xxx file is fubarred. The 5.0.13 driver
went into 2.1.96, so if you had that installed it could create some
problems. In any case, the aic7xxx.c file is only suppossed to be around
9000 lines long, certainly nowhere near 14399 lines long. You can grab the
5.0.13.tar.gz file from my ftp site and drop the aic7xxx* files into the
2.1.96 tree unmodified if your sources are corrupt and that will fix the
problem. AKA,

cd /tmp
ncftp ftp.dialnet.net:/pub/linux/aic7xxx/aic7xxx-5.0.13.tar.gz
tar xvzf aic7xxx-5.0.13.tar.gz
cd linux/drivers/scsi
cp aic7xxx{_,.}* /usr/src/linux-where-ever/drivers/scsi
cp aic7xxx/* /usr/src/linux-where-ever/drivers/scsi/aic7xxx
cp README.aic7xxx /usr/src/linux-where-ever/drivers/scsi

and you're done.

-- 

Doug Ledford <dledford@dialnet.net> Opinions expressed are my own, but they should be everybody's.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu