|
|
1.1 ! root 1: /*+M************************************************************************* ! 2: * Adaptec 274x/284x/294x device driver for Linux. ! 3: * ! 4: * Copyright (c) 1994 John Aycock ! 5: * The University of Calgary Department of Computer Science. ! 6: * ! 7: * This program is free software; you can redistribute it and/or modify ! 8: * it under the terms of the GNU General Public License as published by ! 9: * the Free Software Foundation; either version 2, or (at your option) ! 10: * any later version. ! 11: * ! 12: * This program is distributed in the hope that it will be useful, ! 13: * but WITHOUT ANY WARRANTY; without even the implied warranty of ! 14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! 15: * GNU General Public License for more details. ! 16: * ! 17: * You should have received a copy of the GNU General Public License ! 18: * along with this program; see the file COPYING. If not, write to ! 19: * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. ! 20: * ! 21: * $Id: aic7xxx.h,v 1.1.1.1 1997/02/25 21:27:47 thomas Exp $ ! 22: *-M*************************************************************************/ ! 23: #ifndef _aic7xxx_h ! 24: #define _aic7xxx_h ! 25: ! 26: #define AIC7XXX_H_VERSION "$Revision: 1.1.1.1 $" ! 27: ! 28: /* ! 29: * Scsi_Host_Template (see hosts.h) for AIC-7770/AIC-7870 - some fields ! 30: * to do with card config are filled in after the card is detected. ! 31: */ ! 32: #define AIC7XXX { \ ! 33: NULL, \ ! 34: NULL, \ ! 35: NULL, \ ! 36: aic7xxx_proc_info, \ ! 37: NULL, \ ! 38: aic7xxx_detect, \ ! 39: NULL, \ ! 40: aic7xxx_info, \ ! 41: NULL, \ ! 42: aic7xxx_queue, \ ! 43: aic7xxx_abort, \ ! 44: aic7xxx_reset, \ ! 45: NULL, \ ! 46: aic7xxx_biosparam, \ ! 47: -1, /* max simultaneous cmds */\ ! 48: -1, /* scsi id of host adapter */\ ! 49: SG_ALL, /* max scatter-gather cmds */\ ! 50: 2, /* cmds per lun (linked cmds) */\ ! 51: 0, /* number of 7xxx's present */\ ! 52: 0, /* no memory DMA restrictions */\ ! 53: ENABLE_CLUSTERING \ ! 54: } ! 55: ! 56: extern int aic7xxx_queue(Scsi_Cmnd *, void (*)(Scsi_Cmnd *)); ! 57: extern int aic7xxx_biosparam(Disk *, kdev_t, int[]); ! 58: extern int aic7xxx_detect(Scsi_Host_Template *); ! 59: extern int aic7xxx_command(Scsi_Cmnd *); ! 60: extern int aic7xxx_abort(Scsi_Cmnd *); ! 61: extern int aic7xxx_reset(Scsi_Cmnd *); ! 62: ! 63: extern const char *aic7xxx_info(struct Scsi_Host *); ! 64: ! 65: extern int aic7xxx_proc_info(char *, char **, off_t, int, int, int); ! 66: ! 67: #endif /* _aic7xxx_h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.