scsi_dbg.h 968 B

12345678910111213141516171819202122232425
  1. #ifndef _SCSI_SCSI_DBG_H
  2. #define _SCSI_SCSI_DBG_H
  3. struct scsi_cmnd;
  4. struct scsi_sense_hdr;
  5. extern void scsi_print_command(struct scsi_cmnd *);
  6. extern void __scsi_print_command(unsigned char *);
  7. extern void scsi_show_extd_sense(unsigned char, unsigned char);
  8. extern void scsi_show_sense_hdr(struct scsi_sense_hdr *);
  9. extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *);
  10. extern void scsi_cmd_print_sense_hdr(struct scsi_cmnd *, const char *,
  11. struct scsi_sense_hdr *);
  12. extern void scsi_print_sense(char *, struct scsi_cmnd *);
  13. extern void __scsi_print_sense(const char *name,
  14. const unsigned char *sense_buffer,
  15. int sense_len);
  16. extern void scsi_show_result(int);
  17. extern void scsi_print_result(struct scsi_cmnd *);
  18. extern void scsi_print_status(unsigned char);
  19. extern const char *scsi_sense_key_string(unsigned char);
  20. extern const char *scsi_extd_sense_format(unsigned char, unsigned char);
  21. #endif /* _SCSI_SCSI_DBG_H */