root/drivers/scsi/wd7000.h

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

INCLUDED FROM


   1 #ifndef _WD7000_H
   2 
   3 /* $Id: $
   4  *
   5  * Header file for the WD-7000 driver for Linux
   6  *
   7  * John Boyd <boyd@cis.ohio-state.edu>  Jan 1994:
   8  * This file has been reduced to only the definitions needed for the
   9  * WD7000 host structure.
  10  *
  11  */
  12 
  13 #include <linux/types.h>
  14 
  15 int wd7000_detect(Scsi_Host_Template *);
  16 int wd7000_command(Scsi_Cmnd *);
  17 int wd7000_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
  18 int wd7000_abort(Scsi_Cmnd *);
  19 int wd7000_reset(Scsi_Cmnd *);
  20 int wd7000_biosparam(Disk *, int, int*);
  21 
  22 #ifndef NULL
  23 #define NULL 0L
  24 #endif
  25 
  26 /*
  27  *  In this version, sg_tablesize now defaults to WD7000_SG, and will
  28  *  be set to SG_NONE for older boards.  This is the reverse of the
  29  *  previous default, and was changed so that the driver-level
  30  *  Scsi_Host_Template would reflect the driver's support for scatter/
  31  *  gather.
  32  *
  33  *  Also, it has been reported that boards at Revision 6 support scatter/
  34  *  gather, so the new definition of an "older" board has been changed
  35  *  accordingly.
  36  */
  37 #define WD7000_Q    16
  38 #define WD7000_SG   16
  39 
  40 #define WD7000 { NULL, NULL,            \
  41         NULL,                           \
  42         "wd7000",                       \
  43         PROC_SCSI_7000FASST,            \
  44         "Western Digital WD-7000",      \
  45         wd7000_detect,                  \
  46         NULL,                           \
  47         NULL,                           \
  48         wd7000_command,                 \
  49         wd7000_queuecommand,            \
  50         wd7000_abort,                   \
  51         wd7000_reset,                   \
  52         NULL,                           \
  53         wd7000_biosparam,               \
  54         WD7000_Q, 7, WD7000_SG, 1, 0, 1, ENABLE_CLUSTERING}
  55 #endif

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