diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:20:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:20:36 -0700 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/scsi/pci2220i.h |
Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'drivers/scsi/pci2220i.h')
-rw-r--r-- | drivers/scsi/pci2220i.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/drivers/scsi/pci2220i.h b/drivers/scsi/pci2220i.h new file mode 100644 index 000000000000..6926056c2aee --- /dev/null +++ b/drivers/scsi/pci2220i.h @@ -0,0 +1,39 @@ +/**************************************************************************** + * Perceptive Solutions, Inc. PCI-2220I device driver for Linux. + * + * pci2220i.h - Linux Host Driver for PCI-2220i EIDE Adapters + * + * Copyright (c) 1997-1999 Perceptive Solutions, Inc. + * All Rights Reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that redistributions of source + * code retain the above copyright notice and this comment without + * modification. + * + * Technical updates and product information at: + * http://www.psidisk.com + * + * Please send questions, comments, bug reports to: + * tech@psidisk.com Technical Support + * + ****************************************************************************/ +#ifndef _PCI2220I_H +#define _PCI2220I_H + +#ifndef LINUX_VERSION_CODE +#include <linux/version.h> +#endif +#define LINUXVERSION(v,p,s) (((v)<<16) + ((p)<<8) + (s)) + +// function prototypes +int Pci2220i_Detect (Scsi_Host_Template *tpnt); +int Pci2220i_Command (Scsi_Cmnd *SCpnt); +int Pci2220i_QueueCommand (Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)); +int Pci2220i_Abort (Scsi_Cmnd *SCpnt); +int Pci2220i_Reset (Scsi_Cmnd *SCpnt, unsigned int flags); +int Pci2220i_Release (struct Scsi_Host *pshost); +int Pci2220i_BiosParam (struct scsi_device *sdev, + struct block_device *dev, + sector_t capacity, int geom[]); +#endif |