patch-2.3.27 linux/drivers/scsi/aic7xxx.h
Next file: linux/drivers/scsi/amiga7xx.c
Previous file: linux/drivers/scsi/aic7xxx.c
Back to the patch index
Back to the overall index
- Lines: 44
- Date:
Thu Nov 11 17:03:44 1999
- Orig file:
v2.3.26/linux/drivers/scsi/aic7xxx.h
- Orig date:
Wed Aug 18 16:44:20 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/aic7xxx.h linux/drivers/scsi/aic7xxx.h
@@ -43,11 +43,9 @@
* Scsi_Host_Template (see hosts.h) for AIC-7xxx - some fields
* to do with card config are filled in after the card is detected.
*/
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,1,65)
#define AIC7XXX { \
next: NULL, \
module: NULL, \
- proc_dir: NULL, \
proc_info: aic7xxx_proc_info, \
name: NULL, \
detect: aic7xxx_detect, \
@@ -73,31 +71,6 @@
use_clustering: ENABLE_CLUSTERING, \
use_new_eh_code: 0 \
}
-#else
-#define AIC7XXX { \
- next: NULL, \
- usage_count: NULL, \
- proc_dir: NULL, \
- proc_info: aic7xxx_proc_info, \
- name: NULL, \
- detect: aic7xxx_detect, \
- release: aic7xxx_release, \
- info: aic7xxx_info, \
- command: NULL, \
- queuecommand: aic7xxx_queue, \
- abort: aic7xxx_abort, \
- reset: aic7xxx_reset, \
- slave_attach: NULL, \
- bios_param: AIC7XXX_BIOSPARAM, \
- can_queue: 255, /* max simultaneous cmds */\
- this_id: -1, /* scsi id of host adapter */\
- sg_tablesize: 0, /* max scatter-gather cmds */\
- cmd_per_lun: 3, /* cmds per lun (linked cmds) */\
- present: 0, /* number of 7xxx's present */\
- unchecked_isa_dma: 0, /* no memory DMA restrictions */\
- use_clustering: ENABLE_CLUSTERING \
-}
-#endif
extern int aic7xxx_queue(Scsi_Cmnd *, void (*)(Scsi_Cmnd *));
extern int aic7xxx_biosparam(Disk *, kdev_t, int[]);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)