iph5526_scsi.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. #ifndef IPH5526_SCSI_H
  2. #define IPH5526_SCSI_H
  3. #define IPH5526_CAN_QUEUE 32
  4. #define IPH5526_SCSI_FC {   
  5.         name:                   "Interphase 5526 Fibre Channel SCSI Adapter",   
  6.         detect:                 iph5526_detect,                  
  7.         release:                iph5526_release,                 
  8.         info:                   iph5526_info,                    
  9.         queuecommand:           iph5526_queuecommand,            
  10. bios_param: iph5526_biosparam,               
  11.         can_queue:              IPH5526_CAN_QUEUE,               
  12.         this_id:                -1,                              
  13.         sg_tablesize:           255,                             
  14.         cmd_per_lun:            8,                               
  15.         use_clustering:         DISABLE_CLUSTERING,              
  16.         eh_abort_handler:       iph5526_abort,                   
  17.         eh_device_reset_handler:NULL,                            
  18.         eh_bus_reset_handler:   NULL,                            
  19.         eh_host_reset_handler:  NULL,                            
  20. }
  21. int iph5526_detect(Scsi_Host_Template *tmpt);
  22. int iph5526_queuecommand(Scsi_Cmnd *Cmnd, void (*done) (Scsi_Cmnd *));
  23. int iph5526_release(struct Scsi_Host *host);
  24. int iph5526_abort(Scsi_Cmnd *Cmnd);
  25. const char *iph5526_info(struct Scsi_Host *host);
  26. int iph5526_biosparam(Disk * disk, kdev_t n, int ip[]);
  27. #endif