~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/drivers/scsi/NCR53c406a.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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      proc_name:         "NCR53c406a"            /* proc_name */,        \
 30      name:              "NCR53c406a"            /* name */,             \
 31      detect:            NCR53c406a_detect       /* detect */,           \
 32      info:              NCR53c406a_info         /* info */,             \
 33      command:           NCR53c406a_command      /* command */,          \
 34      queuecommand:      NCR53c406a_queue        /* queuecommand */,     \
 35      abort:             NCR53c406a_abort        /* abort */,            \
 36      reset:             NCR53c406a_reset        /* reset */,            \
 37      bios_param:        NCR53c406a_biosparm     /* biosparm */,         \
 38      can_queue:         1                       /* can_queue */,        \
 39      this_id:           7                       /* SCSI ID of the chip */, \
 40      sg_tablesize:      32                      /*SG_ALL*/ /*SG_NONE*/, \
 41      cmd_per_lun:       1                       /* commands per lun */, \
 42      unchecked_isa_dma: 1                       /* unchecked_isa_dma */, \
 43      use_clustering:    ENABLE_CLUSTERING                               \
 44 }
 45 
 46 int NCR53c406a_detect(Scsi_Host_Template *);
 47 const char* NCR53c406a_info(struct Scsi_Host *);
 48 
 49 int NCR53c406a_command(Scsi_Cmnd *);
 50 int NCR53c406a_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
 51 int NCR53c406a_abort(Scsi_Cmnd *);
 52 int NCR53c406a_reset(Scsi_Cmnd *, unsigned int);
 53 int NCR53c406a_biosparm(Disk *, kdev_t, int []);
 54 
 55 #endif /* _NCR53C406A_H */
 56 
 57 /*
 58  * Overrides for Emacs so that we get a uniform tabbing style.
 59  * Emacs will notice this stuff at the end of the file and automatically
 60  * adjust the settings for this buffer only.  This must remain at the end
 61  * of the file.
 62  * ---------------------------------------------------------------------------
 63  * Local variables:
 64  * c-indent-level: 4
 65  * c-brace-imaginary-offset: 0
 66  * c-brace-offset: -4
 67  * c-argdecl-indent: 4
 68  * c-label-offset: -4
 69  * c-continued-statement-offset: 4
 70  * c-continued-brace-offset: 0
 71  * indent-tabs-mode: nil
 72  * tab-width: 8
 73  * End:
 74  */
 75 
 76 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.