This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / scsi / atp870u.h
index ce42a81..e4fac5e 100644 (file)
@@ -1,6 +1,16 @@
 #ifndef _ATP870U_H
 #define _ATP870U_H
 
+/* $Id: atp870u.h,v 1.0 1997/05/07 15:09:00 root Exp root $
+
+ * Header file for the ACARD 870U/W driver for Linux
+ *
+ * $Log: atp870u.h,v $
+ * Revision 1.0  1997/05/07  15:09:00  root
+ * Initial revision
+ *
+ */
+
 #include <linux/types.h>
 
 /* I/O Port */
@@ -31,7 +41,7 @@ struct atp_unit {
        unsigned short deviceid;
        unsigned char ata_cdbu[16];
        unsigned char sp[16];
-       struct scsi_cmnd *querequ[qcnt];
+       Scsi_Cmnd *querequ[qcnt];
        struct atp_id {
                unsigned char dirctu;
                unsigned char devspu;
@@ -42,11 +52,20 @@ struct atp_unit {
                unsigned char *prd_posu;
                unsigned char *prd_tableu;
                dma_addr_t prd_phys;
-               struct scsi_cmnd *curr_req;
+               Scsi_Cmnd *curr_req;
        } id[16];
        struct Scsi_Host *host;
        struct pci_dev *pdev;
        unsigned int unit;
 };
 
+static int atp870u_queuecommand(Scsi_Cmnd *, void (*done) (Scsi_Cmnd *));
+static int atp870u_abort(Scsi_Cmnd *);
+static int atp870u_biosparam(struct scsi_device *, struct block_device *,
+               sector_t, int *);
+static void send_s870(struct Scsi_Host *);
+
+extern const char *atp870u_info(struct Scsi_Host *);
+static Scsi_Host_Template atp870u_template;
+
 #endif