Go to the documentation of this file.
45 #include <linux/cdrom.h>
46 #include <scsi/scsi.h>
59 switch (srb->
cmnd[0]) {
66 case READ_6: what =
"READ_6";
break;
67 case WRITE_6: what =
"WRITE_6";
break;
68 case SEEK_6: what =
"SEEK_6";
break;
71 case SPACE: what =
"SPACE";
break;
72 case INQUIRY: what =
"INQUIRY";
break;
75 case RESERVE: what =
"RESERVE";
break;
76 case RELEASE: what =
"RELEASE";
break;
77 case COPY: what =
"COPY";
break;
78 case ERASE: what =
"ERASE";
break;
86 case READ_10: what =
"READ_10";
break;
87 case WRITE_10: what =
"WRITE_10";
break;
88 case SEEK_10: what =
"SEEK_10";
break;
90 case VERIFY: what =
"VERIFY";
break;
100 case COMPARE: what =
"COMPARE";
break;
105 case READ_LONG: what =
"READ_LONG";
break;
110 case READ_TOC: what =
"READ_TOC";
break;
115 what =
"GET EVENT/STATUS NOTIFICATION";
break;
118 case LOG_SENSE: what =
"LOG_SENSE";
break;
122 what =
"READ TRACK INFORMATION";
break;
127 case 0x59: what =
"READ MASTER CUE";
break;
130 case 0x5C: what =
"READ BUFFER CAPACITY";
break;
131 case 0x5D: what =
"SEND CUE SHEET";
break;
134 case MOVE_MEDIUM: what =
"MOVE_MEDIUM or PLAY AUDIO (12)";
break;
135 case READ_12: what =
"READ_12";
break;
136 case WRITE_12: what =
"WRITE_12";
break;
148 case 0xE1: what =
"WRITE CONTINUE";
break;
150 default: what =
"(unknown command)";
break;
154 for (i = 0; i < srb->
cmd_len && i < 16; i++)
162 unsigned char ascq) {
164 const char *
what, *keystr;
170 keystr =
"(Unknown Key)";
172 what =
"(unknown ASC/ASCQ)";