Linux 2.4.0-test7pre1
[davej-history.git] / drivers / scsi / dec_esp.h
blob84f9cd82c2a083498fd5296e828c4abfbe45ea55
1 /* dec_esp.h: Defines and structures for the JAZZ SCSI driver.
3 * DECstation changes Copyright (C) 1998 Harald Koerfgen
4 * and David Airlie
6 * based on jazz_esp.h:
7 * Copyright (C) 1997 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
8 */
10 #ifndef DEC_ESP_H
11 #define DEC_ESP_H
13 #include "NCR53C9x.h"
15 #define DEC_SCSI_SREG 0
16 #define DEC_SCSI_DMAREG 0x40000
17 #define DEC_SCSI_SRAM 0x80000
18 #define DEC_SCSI_DIAG 0xC0000
20 extern int dec_esp_detect(struct SHT *);
21 extern const char *esp_info(struct Scsi_Host *);
22 extern int esp_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
23 extern int esp_command(Scsi_Cmnd *);
24 extern int esp_abort(Scsi_Cmnd *);
25 extern int esp_reset(Scsi_Cmnd *, unsigned int);
26 extern int esp_proc_info(char *buffer, char **start, off_t offset, int length,
27 int hostno, int inout);
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, }
45 #endif /* DEC_ESP_H */