[1837] in linux-scsi channel archive
Re: Test release of aic7xxx driver
daemon@ATHENA.MIT.EDU (Daniel M. Eischen)
Fri May 9 18:10:16 1997
Date: Fri, 9 May 1997 17:05:41 -0500 (CDT)
From: "Daniel M. Eischen" <deischen@iworks.InterWorks.org>
To: dave@nic.com
Cc: linux-scsi@vger.rutgers.edu
> I'm wondering just what problems this driver fixed, and whether I had/have
> these problems.. How close to stable is this? Are there a signifigant
> number of changes that this might be included in 2.0.31?
If your satisfied with the driver in 2.0.31, great. But it's buggy
and this fixes some problems. If you want to be sure that this
driver doesn't break your support when it gets integrated into
the Linux kernels, then you should try it.
> There is no reference to 2.0.24+ in the tarball. Are you saying I only
> need to change the kernel version in the Makefile, and follow the rest of
> the directions?
>From the Makefile:
I've only tested this on 2.1.26, so
be careful with the Makefile. You may have to hand-apply the
changes to the Makefile that exists in whatever version of the
kernel you're using.
I only supplied the Makefile for the version of Linux that I was
using (2.1.26). If you wish to try it on other versions, especially
for 2.0.x) you'll need to modify the drivers/scsi/Makefile for that
particular version of the linux kernel.
See lines 387-399 of the included Makefile. These are the rules
to build the new driver. Replace the rules in the 2.0.31 Makefile
with these new rules. I don't have 2.0.31 on my system or else I
would give you a patch for it. Here are the changes necessary
for the Makefile in 2.1.26:
***************
*** 385,394 ****
$(CC) $(CFLAGS) $(AHA152X) -c aha152x.c
! aic7xxx_asm: aic7xxx_asm.c
! $(HOSTCC) -o $@ aic7xxx_asm.c
! aic7xxx.c: aic7xxx_seq.h
! aic7xxx_seq.h: aic7xxx_asm aic7xxx.seq
! ./aic7xxx_asm -o $@ aic7xxx.seq
seagate.o: seagate.c
--- 385,401 ----
$(CC) $(CFLAGS) $(AHA152X) -c aha152x.c
! aic7xxx/aic7xxx_asm: aic7xxx/aic7xxx_asm.c
! (cd ./aic7xxx; make aic7xxx_asm)
! aic7xxx_seq.h: aic7xxx/aic7xxx_asm aic7xxx/aic7xxx.seq
! ./aic7xxx/aic7xxx_asm -nostdinc -I- -Iaic7xxx -o $@ aic7xxx/aic7xxx.seq
!
! aic7xxx_reg.h: aic7xxx/aic7xxx_asm aic7xxx/aic7xxx.seq
! ./aic7xxx/aic7xxx_asm -nostdinc -I- -Iaic7xxx -r $@ aic7xxx/aic7xxx.seq
!
! aic7xxx.o: aic7xxx.c aic7xxx_seq.h aic7xxx_reg.h
! $(CC) $(CFLAGS) -c -o $@ aic7xxx.c
! rm aic7xxx_seq.h aic7xxx_reg.h
! (cd aic7xxx; make clean)
seagate.o: seagate.c
Dan Eischen
deischen@iworks.InterWorks.org