1 /* jazz_esp.h: Defines and structures for the JAZZ SCSI driver.
2  *
3  * Copyright (C) 1997 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
4  */
5 
6 #ifndef JAZZ_ESP_H
7 #define JAZZ_ESP_H
8 
9 #define EREGS_PAD(n)
10 
11 #include "NCR53C9x.h"
12 
13 
14 extern int jazz_esp_detect(struct SHT *);
15 extern const char *esp_info(struct Scsi_Host *);
16 extern int esp_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
17 extern int esp_command(Scsi_Cmnd *);
18 extern int esp_abort(Scsi_Cmnd *);
19 extern int esp_reset(Scsi_Cmnd *, unsigned int);
20 extern int esp_proc_info(char *buffer, char **start, off_t offset, int length,
21 			 int hostno, int inout);
22 
23 #define SCSI_JAZZ_ESP {                                         \
24 		proc_name:      "esp",				\
25 		proc_info:      &esp_proc_info,			\
26 		name:           "ESP 100/100a/200",		\
27 		detect:         jazz_esp_detect,		\
28 		info:           esp_info,			\
29 		command:        esp_command,			\
30 		queuecommand:   esp_queue,			\
31 		abort:          esp_abort,			\
32 		reset:          esp_reset,			\
33 		can_queue:      7,				\
34 		this_id:        7,				\
35 		sg_tablesize:   SG_ALL,				\
36 		cmd_per_lun:    1,				\
37 		use_clustering: DISABLE_CLUSTERING, }
38 
39 #endif /* JAZZ_ESP_H */
40