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 (Disk
*disk
, kdev_t dev
, int geom
[]);
43 proc_name: "pci2220i", \
44 name: "PCI-2220I/PCI-2240I", \
45 detect: Pci2220i_Detect, \
46 release: Pci2220i_Release, \
47 command: Pci2220i_Command, \
48 queuecommand: Pci2220i_QueueCommand, \
49 abort: Pci2220i_Abort, \
50 reset: Pci2220i_Reset, \
51 bios_param: Pci2220i_BiosParam, \
54 sg_tablesize: SG_ALL, \
57 unchecked_isa_dma: 0, \
58 use_clustering: DISABLE_CLUSTERING, \