1 #ifndef AMIGA7XX_H 2 3 #include <linux/types.h> 4 5 int amiga7xx_detect(Scsi_Host_Template *); 6 const char *NCR53c7x0_info(void); 7 int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); 8 int NCR53c7xx_abort(Scsi_Cmnd *); 9 int NCR53c7x0_release (struct Scsi_Host *); 10 int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int); 11 void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs); 12 13 #ifndef NULL 14 #define NULL 0 15 #endif 16 17 #ifndef CMD_PER_LUN 18 #define CMD_PER_LUN 3 19 #endif 20 21 #ifndef CAN_QUEUE 22 #define CAN_QUEUE 24 23 #endif 24 25 #include <scsi/scsicam.h> 26 27 #define AMIGA7XX_SCSI {name: "Amiga NCR53c710 SCSI", \ 28 detect: amiga7xx_detect, \ 29 queuecommand: NCR53c7xx_queue_command, \ 30 abort: NCR53c7xx_abort, \ 31 reset: NCR53c7xx_reset, \ 32 bios_param: scsicam_bios_param, \ 33 can_queue: 24, \ 34 this_id: 7, \ 35 sg_tablesize: 63, \ 36 cmd_per_lun: 3, \ 37 use_clustering: DISABLE_CLUSTERING } 38 39 #endif /* AMIGA7XX_H */ 40