diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1997-12-15 22:29:44 +0000 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1997-12-15 22:29:44 +0000 |
commit | 72deb52b806925d6a67864e38da980b7c2d4265b (patch) | |
tree | f336c94b36b5fb5d0c1908236d8d38520d77e192 /drivers/scsi/jazz_esp.h | |
parent | c824d6fb35152168d56900c29f8a24ffbddde9b5 (diff) |
added support for the jazz scsi controller
Diffstat (limited to 'drivers/scsi/jazz_esp.h')
-rw-r--r-- | drivers/scsi/jazz_esp.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/drivers/scsi/jazz_esp.h b/drivers/scsi/jazz_esp.h new file mode 100644 index 000000000..9a7886f26 --- /dev/null +++ b/drivers/scsi/jazz_esp.h @@ -0,0 +1,48 @@ +/* jazz_esp.h: Defines and structures for the JAZZ SCSI driver. + * + * Copyright (C) 1997 Thomas Bogendoerfer (tsbogend@alpha.franken.de) + */ + +#ifndef JAZZ_ESP_H +#define JAZZ_ESP_H + +#define EREGS_PAD(n) + +#include "esp.h" + + +extern int jazz_esp_detect(struct SHT *); +extern const char *esp_info(struct Scsi_Host *); +extern int esp_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); +extern int esp_command(Scsi_Cmnd *); +extern int esp_abort(Scsi_Cmnd *); +extern int esp_reset(Scsi_Cmnd *, unsigned int); +extern int esp_proc_info(char *buffer, char **start, off_t offset, int length, + int hostno, int inout); + + +#define SCSI_JAZZ_ESP { \ +/* struct SHT *next */ NULL, \ +/* long *usage_count */ NULL, \ +/* struct proc_dir_entry *proc_dir */ &proc_scsi_esp, \ +/* int (*proc_info)(char *, char **, off_t, int, int, int) */ &esp_proc_info, \ +/* const char *name */ "JAZZ SCSI", \ +/* int detect(struct SHT *) */ jazz_esp_detect, \ +/* int release(struct Scsi_Host *) */ NULL, \ +/* const char *info(struct Scsi_Host *) */ esp_info, \ +/* int command(Scsi_Cmnd *) */ esp_command, \ +/* int queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)) */ esp_queue, \ +/* int abort(Scsi_Cmnd *) */ esp_abort, \ +/* int reset(Scsi_Cmnd *) */ esp_reset, \ +/* int slave_attach(int, int) */ NULL, \ +/* int bios_param(Disk *, kdev_t, int[]) */ NULL, \ +/* int can_queue */ 7, \ +/* int this_id */ 7, \ +/* short unsigned int sg_tablesize */ SG_ALL, \ +/* short cmd_per_lun */ 1, \ +/* unsigned char present */ 0, \ +/* unsigned unchecked_isa_dma:1 */ 0, \ +/* unsigned use_clustering:1 */ DISABLE_CLUSTERING, } + +#endif /* JAZZ_ESP_H */ + |