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