home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.2 / LINUX-1.2 / LINUX-1 / linux / drivers / scsi / eata.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-15  |  1.4 KB  |  39 lines

  1. /*
  2.  *    eata.h - used by the low-level driver for EATA/DMA SCSI host adapters.
  3.  *
  4.  */
  5. #ifndef _EATA_H
  6. #define _EATA_H
  7.  
  8. #include <linux/scsicam.h>
  9.  
  10. #define EATA_VERSION "1.17.00"
  11.  
  12. int eata2x_detect(Scsi_Host_Template *);
  13. int eata2x_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
  14. int eata2x_abort(Scsi_Cmnd *);
  15. int eata2x_reset(Scsi_Cmnd *);
  16.  
  17. #define EATA {                                                 \
  18.                 NULL, /* Ptr for modules */                    \
  19.                 NULL, /* usage count for modules */           \
  20.                 "EATA/DMA 2.0x rev. " EATA_VERSION " ",        \
  21.                 eata2x_detect,                               \
  22.                 NULL, /* Release */                        \
  23.         NULL,                                           \
  24.         NULL,                                  \
  25.         eata2x_queuecommand,                   \
  26.         eata2x_abort,                       \
  27.         eata2x_reset,                       \
  28.             NULL,                                       \
  29.         scsicam_bios_param,                      \
  30.         0,   /* can_queue, reset by detect */          \
  31.                 7,   /* this_id, reset by detect */            \
  32.                 0,   /* sg_tablesize, reset by detect */       \
  33.                 0,   /* cmd_per_lun, reset by detect */        \
  34.         0,   /* number of boards present */            \
  35.                 1,   /* unchecked isa dma, reset by detect */  \
  36.                 ENABLE_CLUSTERING                              \
  37.                 }
  38. #endif
  39.