--- 2.4.19pre10aa2/drivers/scsi/qla2xxx/qla2x00.h.~1~ Mon May 20 23:11:02 2002 +++ 2.4.19pre10aa2/drivers/scsi/qla2xxx/qla2x00.h Mon Jun 10 21:38:40 2002 @@ -2639,27 +2639,6 @@ void qla2x00_setup(char *s); * Device driver Interfaces to mid-level SCSI driver. */ -/* Kernel version specific template additions */ - -/* - * max_sectors - * - */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,8) -#define TEMPLATE_MAX_SECTORS max_sectors: 512, -#else -#define TEMPLATE_MAX_SECTORS -#endif -/* - * highmem_io - * - */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,7) -#define TEMPLATE_HIGHMEM_IO highmem_io: 1, -#else -#define TEMPLATE_HIGHMEM_IO -#endif - #define QLA2100_LINUX_TEMPLATE { \ next: NULL, \ module: NULL, \ @@ -2689,8 +2668,9 @@ void qla2x00_setup(char *s); unchecked_isa_dma: 0, /* no memory DMA restrictions */\ use_clustering: ENABLE_CLUSTERING, \ use_new_eh_code: 1, \ -TEMPLATE_MAX_SECTORS \ -TEMPLATE_HIGHMEM_IO \ + max_sectors: 512, \ + highmem_io: 1, \ + can_do_varyio: 1, \ emulated: 0 \ }