eata.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:2k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /*
  2.  *        eata.h - used by the low-level driver for EATA/DMA SCSI host adapters.
  3.  */
  4. #ifndef _EATA_H
  5. #define _EATA_H
  6. #include <scsi/scsicam.h>
  7. int eata2x_detect(Scsi_Host_Template *);
  8. int eata2x_release(struct Scsi_Host *);
  9. int eata2x_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
  10. int eata2x_abort(Scsi_Cmnd *);
  11. int eata2x_reset(Scsi_Cmnd *);
  12. int eata2x_biosparam(Disk *, kdev_t, int *);
  13. #define EATA_VERSION "6.05.00"
  14. #define EATA {                                                               
  15.                 name:              "EATA/DMA 2.0x rev. " EATA_VERSION " ",   
  16.                 detect:                  eata2x_detect,                      
  17.                 release:                 eata2x_release,                     
  18.                 queuecommand:            eata2x_queuecommand,                
  19.                 abort:                   NULL,                               
  20.                 reset:                   NULL,                               
  21.                 eh_abort_handler:        eata2x_abort,                       
  22.                 eh_device_reset_handler: NULL,                               
  23.                 eh_bus_reset_handler:    NULL,                               
  24.                 eh_host_reset_handler:   eata2x_reset,                       
  25.                 bios_param:              eata2x_biosparam,                   
  26.                 this_id:                 7,                                  
  27.                 unchecked_isa_dma:       1,                                  
  28.                 use_clustering:          ENABLE_CLUSTERING,                  
  29.                 use_new_eh_code:         1    /* Enable new error code */    
  30.              }
  31. #endif