1 /****************************************************************************
2 * Perceptive Solutions, Inc. PCI-2220I device driver for Linux.
4 * pci2220i.h - Linux Host Driver for PCI-2220i EIDE Adapters
6 * Copyright (c) 1997-1999 Perceptive Solutions, Inc.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that redistributions of source
11 * code retain the above copyright notice and this comment without
14 * Technical updates and product information at:
15 * http://www.psidisk.com
17 * Please send questions, comments, bug reports to:
18 * tech@psidisk.com Technical Support
20 ****************************************************************************/
24 #ifndef LINUX_VERSION_CODE
25 #include <linux/version.h>
27 #define LINUXVERSION(v,p,s) (((v)<<16) + ((p)<<8) + (s))
29 // function prototypes
30 int Pci2220i_Detect (Scsi_Host_Template
*tpnt
);
31 int Pci2220i_Command (Scsi_Cmnd
*SCpnt
);
32 int Pci2220i_QueueCommand (Scsi_Cmnd
*SCpnt
, void (*done
)(Scsi_Cmnd
*));
33 int Pci2220i_Abort (Scsi_Cmnd
*SCpnt
);
34 int Pci2220i_Reset (Scsi_Cmnd
*SCpnt
, unsigned int flags
);
35 int Pci2220i_Release (struct Scsi_Host
*pshost
);
36 int Pci2220i_BiosParam (struct scsi_device
*sdev
,
37 struct block_device
*dev
,
38 sector_t capacity
, int geom
[]);