Linux v2.6.15-rc6
[pohmelfs.git] / include / scsi / scsi_dbg.h
blobb090a11d7e1c87ee20eb7458f3e0bb3ed3651cce
1 #ifndef _SCSI_SCSI_DBG_H
2 #define _SCSI_SCSI_DBG_H
4 struct scsi_cmnd;
5 struct scsi_request;
6 struct scsi_sense_hdr;
8 extern void scsi_print_command(struct scsi_cmnd *);
9 extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *);
10 extern void __scsi_print_command(unsigned char *);
11 extern void scsi_print_sense(const char *, struct scsi_cmnd *);
12 extern void scsi_print_req_sense(const char *, struct scsi_request *);
13 extern void __scsi_print_sense(const char *name,
14 const unsigned char *sense_buffer,
15 int sense_len);
16 extern void scsi_print_driverbyte(int);
17 extern void scsi_print_hostbyte(int);
18 extern void scsi_print_status(unsigned char);
19 extern int scsi_print_msg(const unsigned char *);
20 extern const char *scsi_sense_key_string(unsigned char);
21 extern const char *scsi_extd_sense_format(unsigned char, unsigned char);
23 #endif /* _SCSI_SCSI_DBG_H */