1/* dec_esp.h: Defines and structures for the JAZZ SCSI driver.
2 *
3 * DECstation changes Copyright (C) 1998 Harald Koerfgen
4 * and David Airlie
5 *
6 * based on jazz_esp.h:
7 * Copyright (C) 1997 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
8 */
9
10#ifndef DEC_ESP_H
11#define DEC_ESP_H
12
13#include "NCR53C9x.h"
14
15#define DEC_SCSI_SREG 0
16#define DEC_SCSI_DMAREG 0x40000
17#define DEC_SCSI_SRAM 0x80000
18#define DEC_SCSI_DIAG 0xC0000
19
20extern int dec_esp_detect(struct SHT *);
21extern const char *esp_info(struct Scsi_Host *);
22extern int esp_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
23extern int esp_command(Scsi_Cmnd *);
24extern int esp_abort(Scsi_Cmnd *);
25extern int esp_reset(Scsi_Cmnd *, unsigned int);
26extern int esp_proc_info(char *buffer, char **start, off_t offset, int length,
27			 int hostno, int inout);
28
29#define SCSI_DEC_ESP {                                         \
30		proc_name:      "esp",				\
31		proc_info:      &esp_proc_info,			\
32		name:           "NCR53C94",			\
33		detect:         dec_esp_detect,			\
34		info:           esp_info,			\
35		command:        esp_command,			\
36		queuecommand:   esp_queue,			\
37		abort:          esp_abort,			\
38		reset:          esp_reset,			\
39		can_queue:      7,				\
40		this_id:        7,				\
41		sg_tablesize:   SG_ALL,				\
42		cmd_per_lun:    1,				\
43		use_clustering: DISABLE_CLUSTERING, }
44
45#endif /* DEC_ESP_H */
46