root/drivers/scsi/NCR53c406a.h

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

INCLUDED FROM


   1 #ifndef _NCR53C406A_H
   2 #define _NCR53C406A_H
   3 
   4 /*
   5  *  NCR53c406a.h
   6  * 
   7  *  Copyright (C) 1994 Normunds Saumanis (normunds@rx.tech.swh.lv)
   8  *
   9  *  This program is free software; you can redistribute it and/or modify it
  10  *  under the terms of the GNU General Public License as published by the
  11  *  Free Software Foundation; either version 2, or (at your option) any
  12  *  later version.
  13  *
  14  *  This program is distributed in the hope that it will be useful, but
  15  *  WITHOUT ANY WARRANTY; without even the implied warranty of
  16  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  17  *  General Public License for more details.
  18  *
  19  */
  20 
  21 #ifndef NULL
  22 #define NULL 0
  23 #endif
  24 
  25 /* NOTE:  scatter-gather support only works in PIO mode.
  26  * Use SG_NONE if DMA mode is enabled!
  27  */
  28 #define NCR53c406a { \
  29      NULL                       /* next */, \
  30      NULL                       /* usage count */, \
  31      NULL                       /* proc_dir */, \
  32      NULL                       /* proc_info */, \
  33      "NCR53c406a"               /* name */, \
  34      NCR53c406a_detect          /* detect */, \
  35      NULL                       /* release */, \
  36      NCR53c406a_info            /* info */, \
  37      NCR53c406a_command         /* command */, \
  38      NCR53c406a_queue           /* queuecommand */, \
  39      NCR53c406a_abort           /* abort */, \
  40      NCR53c406a_reset           /* reset */, \
  41      NULL                       /* slave_attach */, \
  42      NCR53c406a_biosparm        /* biosparm */, \
  43      1                          /* can_queue */, \
  44      7                          /* SCSI ID of the chip */, \
  45      32                         /*SG_ALL*/ /*SG_NONE*/, \
  46      1                          /* commands per lun */, \
  47      0                          /* number of boards in system */, \
  48      1                          /* unchecked_isa_dma */, \
  49      ENABLE_CLUSTERING \
  50 }
  51 
  52 int NCR53c406a_detect(Scsi_Host_Template *);
  53 const char* NCR53c406a_info(struct Scsi_Host *);
  54 
  55 int NCR53c406a_command(Scsi_Cmnd *);
  56 int NCR53c406a_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
  57 int NCR53c406a_abort(Scsi_Cmnd *);
  58 int NCR53c406a_reset(Scsi_Cmnd *);
  59 int NCR53c406a_biosparm(Disk *, kdev_t, int []);
  60 
  61 #endif /* _NCR53C406A_H */
  62 

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