patch-2.1.15 linux/drivers/scsi/ide-scsi.h

Next file: linux/drivers/scsi/ncr53c8xx.h
Previous file: linux/drivers/scsi/ide-scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.14/linux/drivers/scsi/ide-scsi.h linux/drivers/scsi/ide-scsi.h
@@ -0,0 +1,41 @@
+/*
+ * linux/drivers/scsi/ide-scsi.h
+ *
+ * Copyright (C) 1996 Gadi Oxman <gadio@netvision.net.il>
+ */
+
+#ifndef IDESCSI_H
+#define IDESCSI_H
+
+extern int idescsi_detect (Scsi_Host_Template *host_template);
+extern int idescsi_release (struct Scsi_Host *host);
+extern const char *idescsi_info (struct Scsi_Host *host);
+extern int idescsi_queue (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
+extern int idescsi_abort (Scsi_Cmnd *cmd);
+extern int idescsi_reset (Scsi_Cmnd *cmd, unsigned int resetflags);
+
+#define IDESCSI								\
+{	NULL,			/* next		*/			\
+	NULL,			/* usage_count	*/			\
+	NULL,			/* proc_dir	*/			\
+	NULL,			/* proc_info	*/			\
+	"idescsi",		/* name		*/			\
+	idescsi_detect,		/* detect	*/			\
+	idescsi_release,	/* release	*/			\
+	idescsi_info,		/* info		*/			\
+	NULL,			/* command	*/			\
+	idescsi_queue,		/* queuecommand */			\
+	idescsi_abort,		/* abort	*/			\
+	idescsi_reset,		/* reset	*/			\
+	NULL,			/* slave_attach	*/			\
+	NULL,			/* bios_param	*/			\
+	10,			/* can_queue	*/			\
+	-1,			/* this_id	*/			\
+	SG_NONE,		/* sg_tablesize	*/			\
+	5,			/* cmd_per_lun	*/			\
+	0,			/* present	*/			\
+	0,			/* isa_dma	*/			\
+	DISABLE_CLUSTERING	/* clustering	*/			\
+}
+
+#endif /* IDESCSI_H */

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