patch-2.1.132 linux/drivers/scsi/mac_esp.h

Next file: linux/drivers/scsi/mca_53c9x.c
Previous file: linux/drivers/scsi/mac_esp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/drivers/scsi/mac_esp.h linux/drivers/scsi/mac_esp.h
@@ -0,0 +1,41 @@
+
+/*
+mac_esp.h
+
+copyright 1997 David Weis, weisd3458@uni.edu
+*/
+
+
+#include "NCR53C9x.h"
+
+#ifndef MAC_ESP_H
+#define MAC_ESP_H
+
+/* #define DEBUG_MAC_ESP */
+
+extern int mac_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);
+
+
+#define SCSI_MAC_ESP      { proc_dir:		&proc_scsi_esp, \
+			    name:		"Mac 53C9x SCSI", \
+			    detect:		mac_esp_detect, \
+			    release:		NULL, \
+			    info:		esp_info, \
+			    /* command:		esp_command, */ \
+			    queuecommand:	esp_queue, \
+			    abort:		esp_abort, \
+			    reset:		esp_reset, \
+			    can_queue:          7, \
+			    this_id:		7, \
+			    sg_tablesize:	SG_ALL, \
+			    cmd_per_lun:	1, \
+			    use_clustering:	DISABLE_CLUSTERING, \
+			    use_new_eh_code:	0 }
+
+#endif /* MAC_ESP_H */
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov