diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
commit | c7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch) | |
tree | 3682407a599b8f9f03fc096298134cafba1c9b2f /drivers/scsi/bvme6000.h | |
parent | 1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff) |
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
Diffstat (limited to 'drivers/scsi/bvme6000.h')
-rw-r--r-- | drivers/scsi/bvme6000.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/drivers/scsi/bvme6000.h b/drivers/scsi/bvme6000.h new file mode 100644 index 000000000..06ad193ee --- /dev/null +++ b/drivers/scsi/bvme6000.h @@ -0,0 +1,43 @@ +#ifndef BVME6000_SCSI_H +#define BVME6000_SCSI_H + +#include <linux/types.h> + +int bvme6000_scsi_detect(Scsi_Host_Template *); +const char *NCR53c7x0_info(void); +int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); +int NCR53c7xx_abort(Scsi_Cmnd *); +int NCR53c7x0_release (struct Scsi_Host *); +int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int); +void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs); + +#ifndef NULL +#define NULL 0 +#endif + +#ifndef CMD_PER_LUN +#define CMD_PER_LUN 3 +#endif + +#ifndef CAN_QUEUE +#define CAN_QUEUE 24 +#endif + +#if defined(HOSTS_C) || defined(MODULE) +#include <scsi/scsicam.h> + +extern struct proc_dir_entry proc_scsi_mvme16x; + +#define BVME6000_SCSI {name: "BVME6000 NCR53c710 SCSI", \ + detect: bvme6000_scsi_detect, \ + queuecommand: NCR53c7xx_queue_command, \ + abort: NCR53c7xx_abort, \ + reset: NCR53c7xx_reset, \ + bios_param: scsicam_bios_param, \ + can_queue: 24, \ + this_id: 7, \ + sg_tablesize: 63, \ + cmd_per_lun: 3, \ + use_clustering: DISABLE_CLUSTERING } +#endif +#endif /* BVME6000_SCSI_H */ |