Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | /**************************************************************************** |
| 2 | * Perceptive Solutions, Inc. PCI-2220I device driver for Linux. |
| 3 | * |
| 4 | * pci2220i.h - Linux Host Driver for PCI-2220i EIDE Adapters |
| 5 | * |
| 6 | * Copyright (c) 1997-1999 Perceptive Solutions, Inc. |
| 7 | * All Rights Reserved. |
| 8 | * |
| 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 |
| 12 | * modification. |
| 13 | * |
| 14 | * Technical updates and product information at: |
| 15 | * http://www.psidisk.com |
| 16 | * |
| 17 | * Please send questions, comments, bug reports to: |
| 18 | * tech@psidisk.com Technical Support |
| 19 | * |
| 20 | ****************************************************************************/ |
| 21 | #ifndef _PCI2220I_H |
| 22 | #define _PCI2220I_H |
| 23 | |
| 24 | #ifndef LINUX_VERSION_CODE |
| 25 | #include <linux/version.h> |
| 26 | #endif |
| 27 | #define LINUXVERSION(v,p,s) (((v)<<16) + ((p)<<8) + (s)) |
| 28 | |
| 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[]); |
| 39 | #endif |