summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ide-scsi.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /drivers/scsi/ide-scsi.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'drivers/scsi/ide-scsi.h')
-rw-r--r--drivers/scsi/ide-scsi.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/drivers/scsi/ide-scsi.h b/drivers/scsi/ide-scsi.h
new file mode 100644
index 000000000..44b524e73
--- /dev/null
+++ b/drivers/scsi/ide-scsi.h
@@ -0,0 +1,41 @@
+/*
+ * linux/drivers/scsi/ide-scsi.h
+ *
+ * Copyright (C) 1996, 1997 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, /* module */ \
+ 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 */ \
+ 256, /* sg_tablesize */ \
+ 5, /* cmd_per_lun */ \
+ 0, /* present */ \
+ 0, /* isa_dma */ \
+ DISABLE_CLUSTERING /* clustering */ \
+}
+
+#endif /* IDESCSI_H */