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 / qlogic.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-29  |  679 b   |  39 lines

  1. #ifndef _QLOGIC_H
  2. #define _QLOGIC_H
  3.  
  4. int qlogic_detect(Scsi_Host_Template * );
  5. const char * qlogic_info(struct Scsi_Host *);
  6. int qlogic_command(Scsi_Cmnd *);
  7. int qlogic_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
  8. int qlogic_abort(Scsi_Cmnd *);
  9. int qlogic_reset(Scsi_Cmnd *);
  10. int qlogic_biosparam(Disk *,int,int[]);
  11.  
  12. #ifndef NULL
  13. #define NULL (0)
  14. #endif
  15.  
  16. #define QLOGIC {        \
  17.     NULL,            \
  18.     NULL,            \
  19.     NULL,            \
  20.     qlogic_detect,        \
  21.     NULL,            \
  22.     qlogic_info,        \
  23.     qlogic_command,     \
  24.     qlogic_queuecommand,    \
  25.     qlogic_abort,        \
  26.     qlogic_reset,        \
  27.     NULL,            \
  28.     qlogic_biosparam,    \
  29.     0,            \
  30.     -1,            \
  31.     SG_ALL,            \
  32.     1,            \
  33.     0,            \
  34.     0,            \
  35.     DISABLE_CLUSTERING    \
  36. }
  37.  
  38. #endif /* _QLOGIC_H */
  39.