root/drivers/scsi/aic7xxx.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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.18 1995/06/22 04:17:56 deang Exp $
  22  *-M*************************************************************************/
  23 #ifndef _aic7xxx_h
  24 #define _aic7xxx_h
  25 
  26 #define AIC7XXX_H_VERSION  "$Revision: 1.18 $"
  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",                                              \
  37         PROC_SCSI_AIC7XXX,                                      \
  38         NULL,                                                   \
  39         aic7xxx_detect,                                         \
  40         NULL,                                                   \
  41         aic7xxx_info,                                           \
  42         NULL,                                                   \
  43         aic7xxx_queue,                                          \
  44         aic7xxx_abort,                                          \
  45         aic7xxx_reset,                                          \
  46         NULL,                                                   \
  47         aic7xxx_biosparam,                                      \
  48         -1,                     /* max simultaneous cmds      */\
  49         -1,                     /* scsi id of host adapter    */\
  50         SG_ALL,                 /* max scatter-gather cmds    */\
  51         2,                      /* cmds per lun (linked cmds) */\
  52         0,                      /* number of 7xxx's present   */\
  53         0,                      /* no memory DMA restrictions */\
  54         ENABLE_CLUSTERING                                       \
  55 }
  56 
  57 extern int aic7xxx_queue(Scsi_Cmnd *, void (*)(Scsi_Cmnd *));
  58 extern int aic7xxx_biosparam(Disk *, int, int[]);
  59 extern int aic7xxx_detect(Scsi_Host_Template *);
  60 extern int aic7xxx_command(Scsi_Cmnd *);
  61 extern int aic7xxx_abort(Scsi_Cmnd *);
  62 extern int aic7xxx_reset(Scsi_Cmnd *);
  63 
  64 extern const char *aic7xxx_info(struct Scsi_Host *);
  65 
  66 #endif /* _aic7xxx_h */

/* [previous][next][first][last][top][bottom][index][help] */