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

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

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

  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  * Revision by Miroslav Zagorac <zaga@fly.cc.fer.hr>  Jun 1997.
 12  */
 13 
 14 #include <linux/types.h>
 15 #include <linux/kdev_t.h>
 16 
 17 int wd7000_set_info (char *buffer, int length, struct Scsi_Host *host);
 18 int wd7000_proc_info (char *buffer, char **start, off_t offset, int length, int hostno, int inout);
 19 int wd7000_detect (Scsi_Host_Template *);
 20 int wd7000_command (Scsi_Cmnd *);
 21 int wd7000_queuecommand (Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
 22 int wd7000_abort (Scsi_Cmnd *);
 23 int wd7000_reset (Scsi_Cmnd *, unsigned int);
 24 int wd7000_biosparam (Disk *, kdev_t, int *);
 25 
 26 #ifndef NULL
 27 #define NULL 0L
 28 #endif
 29 
 30 /*
 31  *  In this version, sg_tablesize now defaults to WD7000_SG, and will
 32  *  be set to SG_NONE for older boards.  This is the reverse of the
 33  *  previous default, and was changed so that the driver-level
 34  *  Scsi_Host_Template would reflect the driver's support for scatter/
 35  *  gather.
 36  *
 37  *  Also, it has been reported that boards at Revision 6 support scatter/
 38  *  gather, so the new definition of an "older" board has been changed
 39  *  accordingly.
 40  */
 41 #define WD7000_Q    16
 42 #define WD7000_SG   16
 43 
 44 #define WD7000 {                                                \
 45         proc_name:              "wd7000",                       \
 46         proc_info:              wd7000_proc_info,               \
 47         name:                   "Western Digital WD-7000",      \
 48         detect:                 wd7000_detect,                  \
 49         command:                wd7000_command,                 \
 50         queuecommand:           wd7000_queuecommand,            \
 51         abort:                  wd7000_abort,                   \
 52         reset:                  wd7000_reset,                   \
 53         bios_param:             wd7000_biosparam,               \
 54         can_queue:              WD7000_Q,                       \
 55         this_id:                7,                              \
 56         sg_tablesize:           WD7000_SG,                      \
 57         cmd_per_lun:            1,                              \
 58         unchecked_isa_dma:      1,                              \
 59         use_clustering:         ENABLE_CLUSTERING,              \
 60         use_new_eh_code:        0                               \
 61 }
 62 #endif
 63 

~ [ 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.