I stupidly forgot that the generic integrity checking implemented by Pamela Delaney was enabled for 2.2.X kernels from the C code. Sorry. Since this enhancement also involves the scsi transport (generic) layer, it will require some acceptance and I was waiting for sym-1.6b to be officially included in Linux 2.3/4.X prior to discussing about this with other SCSI maintainers (and supporters :) ). Here is a patch that should allow this sym/ncr drivers version to compile without requiring new fields in the SCSI data structures: --- linux/drivers/scsi/sym53c8xx.c.0628 Thu Jun 29 08:17:10 2000 +++ linux/drivers/scsi/sym53c8xx.c Thu Jun 29 08:17:58 2000 @@ -175,7 +175,8 @@ ** Donnot compile integrity checking code for Linux-2.3.0 ** and above since SCSI data structures are not ready yet. */ -#if LINUX_VERSION_CODE < LinuxVersionCode(2,3,0) +/* #if LINUX_VERSION_CODE < LinuxVersionCode(2,3,0) */ +#if 0 #define SCSI_NCR_INTEGRITY_CHECKING #endif --- linux/drivers/scsi/ncr53c8xx.c.0628 Thu Jun 29 08:17:31 2000 +++ linux/drivers/scsi/ncr53c8xx.c Thu Jun 29 08:18:24 2000 @@ -190,7 +190,8 @@ ** Donnot compile integrity checking code for Linux-2.3.0 ** and above since SCSI data structures are not ready yet. */ -#if LINUX_VERSION_CODE < LinuxVersionCode(2,3,0) +/* #if LINUX_VERSION_CODE < LinuxVersionCode(2,3,0) */ +#if 0 #define SCSI_NCR_INTEGRITY_CHECKING #endif --------------------------- Cut here -------------------------- Regards, Gerard. On Wed, 28 Jun 2000, G. Hugh Song wrote: > There is something missing in the experimental driver from > ftp://ftp.tux.org/pub/roudier/drivers/linux/experimental/sym53c8xx-1.7pre2.tar.gz > On copying the new stuff into linux-2.2.17pre7/drivers/scsi/, I get: > > gcc -D__KERNEL__ -I/usr/src/linux-2.2.17pre7/include -Wall > -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing > -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6 -c -o > sym53c8xx.o sym53c8xx.c > sym53c8xx.c: In function `ncr_attach': > sym53c8xx.c:5866: structure has no member named `check_integrity' > sym53c8xx.c: In function `ncr_ic_nego': > sym53c8xx.c:6065: structure has no member named `ic_nego' > sym53c8xx.c:6070: structure has no member named `ic_nego' > sym53c8xx.c:6097: structure has no member named `ic_nego' > sym53c8xx.c:6099: structure has no member named `ic_nego' > sym53c8xx.c:6103: structure has no member named `ic_nego' > sym53c8xx.c:6104: structure has no member named `ic_nego' > sym53c8xx.c:6106: structure has no member named `ic_nego' > sym53c8xx.c:6115: structure has no member named `ic_nego' > sym53c8xx.c:6129: structure has no member named `ic_nego' > sym53c8xx.c:6134: structure has no member named `ic_nego' > sym53c8xx.c:6139: structure has no member named `ic_nego' > sym53c8xx.c:6144: structure has no member named `ic_nego_width' > sym53c8xx.c:6146: structure has no member named `ic_nego_sync' > sym53c8xx.c:6159: structure has no member named `ic_nego_sync' > sym53c8xx.c:6148: warning: unreachable code at beginning of switch > statement > sym53c8xx.c:6202: structure has no member named `ic_nego_width' > sym53c8xx.c:6223: structure has no member named `ic_nego' > sym53c8xx.c:6231: structure has no member named `ic_nego_width' > sym53c8xx.c:6263: structure has no member named `ic_nego_sync' > sym53c8xx.c:6233: warning: unreachable code at beginning of switch > statement > sym53c8xx.c: In function `ncr_queue_command': > sym53c8xx.c:6654: structure has no member named `ic_in_progress' > sym53c8xx.c:6657: structure has no member named `ic_complete' > sym53c8xx.c: In function `ncr_sir_to_redo': > sym53c8xx.c:9791: structure has no member named `ic_in_progress' > sym53c8xx.c:9800: structure has no member named `ic_in_progress' > sym53c8xx.c:9808: structure has no member named `ic_in_progress' > make[3]: *** [sym53c8xx.o] Error 1 > make[3]: Leaving directory `/usr/src/linux-2.2.17pre7/drivers/scsi' > make[2]: *** [first_rule] Error 2 > make[2]: Leaving directory `/usr/src/linux-2.2.17pre7/drivers/scsi' > make[1]: *** [_subdir_scsi] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.2.17pre7/drivers' > make: *** [_dir_drivers] Error 2 > > Thank you > > Regards, > > G. Hugh Song > > Office: +82-62-970-2210 > Departmental fax: -2204 > PC fax: -2246 > Email: [EMAIL PROTECTED] > Department of Information and Communications > Kwangju Institute of Science and Technology > 1 Oryong-dong, Buk-gu > Kwangju, 500-712 South KOREA > - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED]
