patch-pre2.0.6 linux/drivers/scsi/qlogicisp.h
Next file: linux/drivers/scsi/qlogicisp_asm.c
Previous file: linux/drivers/scsi/qlogicisp.c
Back to the patch index
Back to the overall index
- Lines: 83
- Date:
Sat May 18 11:58:34 1996
- Orig file:
pre2.0.5/linux/drivers/scsi/qlogicisp.h
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file pre2.0.5/linux/drivers/scsi/qlogicisp.h linux/drivers/scsi/qlogicisp.h
@@ -0,0 +1,82 @@
+/*
+ * QLogic ISP1020 Intelligent SCSI Processor Driver (PCI)
+ * Written by Erik H. Moe, ehm@cris.com
+ * Copyright 1995, Erik H. Moe
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2, or (at your option) any
+ * later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ */
+
+/* Renamed and updated to 1.3.x by Michael Griffith <grif@cs.ucr.edu> */
+
+/*
+ * $Date: 1995/09/22 02:32:56 $
+ * $Revision: 0.5 $
+ *
+ * $Log: isp1020.h,v $
+ * Revision 0.5 1995/09/22 02:32:56 root
+ * do auto request sense
+ *
+ * Revision 0.4 1995/08/07 04:48:28 root
+ * supply firmware with driver.
+ * numerous bug fixes/general cleanup of code.
+ *
+ * Revision 0.3 1995/07/16 16:17:16 root
+ * added reset/abort code.
+ *
+ * Revision 0.2 1995/06/29 03:19:43 root
+ * fixed biosparam.
+ * added queue protocol.
+ *
+ * Revision 0.1 1995/06/25 01:56:13 root
+ * Initial release.
+ *
+ */
+
+#ifndef _QLOGICISP_H
+#define _QLOGICISP_H
+
+int isp1020_detect(Scsi_Host_Template *);
+int isp1020_release(struct Scsi_Host *);
+const char * isp1020_info(struct Scsi_Host *);
+int isp1020_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
+int isp1020_abort(Scsi_Cmnd *);
+int isp1020_reset(Scsi_Cmnd *);
+int isp1020_biosparam(Disk *, int, int[]);
+
+#ifndef NULL
+#define NULL (0)
+#endif
+
+#define QLOGICISP { \
+ /* next */ NULL, \
+ /* usage_count */ NULL, \
+ /* proc dir */ NULL, \
+ /* procfs info */ NULL, \
+ /* name */ NULL, \
+ /* detect */ isp1020_detect, \
+ /* release */ isp1020_release, \
+ /* info */ isp1020_info, \
+ /* command */ NULL, \
+ /* queuecommand */ isp1020_queuecommand, \
+ /* abort */ isp1020_abort, \
+ /* reset */ isp1020_reset, \
+ /* slave_attach */ NULL, \
+ /* bios_param */ isp1020_biosparam, \
+ /* can_queue */ 8, \
+ /* this_id */ -1, \
+ /* sg_tablesize */ 4, \
+ /* cmd_per_lun */ 1, \
+ /* present */ 0, \
+ /* unchecked_isa_dma */ 0, \
+ /* use_clustering */ DISABLE_CLUSTERING \
+}
+
+#endif /* _QLOGICISP_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this