Import 2.3.18pre1
[davej-history.git] / drivers / scsi / amiga7xx.h
blobdbae07dbaa041acd7414856f364677da8f47475c
1 #ifndef AMIGA7XX_H
3 #include <linux/types.h>
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);
13 #ifndef NULL
14 #define NULL 0
15 #endif
17 #ifndef CMD_PER_LUN
18 #define CMD_PER_LUN 3
19 #endif
21 #ifndef CAN_QUEUE
22 #define CAN_QUEUE 24
23 #endif
25 #if defined(HOSTS_C) || defined(MODULE)
26 #include <scsi/scsicam.h>
28 extern struct proc_dir_entry proc_scsi_amiga7xx;
30 #define AMIGA7XX_SCSI {name: "Amiga NCR53c710 SCSI", \
31 detect: amiga7xx_detect, \
32 queuecommand: NCR53c7xx_queue_command, \
33 abort: NCR53c7xx_abort, \
34 reset: NCR53c7xx_reset, \
35 bios_param: scsicam_bios_param, \
36 can_queue: 24, \
37 this_id: 7, \
38 sg_tablesize: 63, \
39 cmd_per_lun: 3, \
40 use_clustering: DISABLE_CLUSTERING }
41 #endif
42 #endif /* AMIGA7XX_H */