aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/constants.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/scsi/constants.c b/drivers/scsi/constants.c
index 611487545af4..2a458d66b6ff 100644
--- a/drivers/scsi/constants.c
+++ b/drivers/scsi/constants.c
@@ -404,7 +404,11 @@ struct error_info {
404 const char * text; 404 const char * text;
405}; 405};
406 406
407static struct error_info additional[] = 407/*
408 * The canonical list of T10 Additional Sense Codes is available at:
409 * http://www.t10.org/lists/asc-num.txt
410 */
411static const struct error_info additional[] =
408{ 412{
409 {0x0000, "No additional sense information"}, 413 {0x0000, "No additional sense information"},
410 {0x0001, "Filemark detected"}, 414 {0x0001, "Filemark detected"},
@@ -708,6 +712,7 @@ static struct error_info additional[] =
708 712
709 {0x2F00, "Commands cleared by another initiator"}, 713 {0x2F00, "Commands cleared by another initiator"},
710 {0x2F01, "Commands cleared by power loss notification"}, 714 {0x2F01, "Commands cleared by power loss notification"},
715 {0x2F02, "Commands cleared by device server"},
711 716
712 {0x3000, "Incompatible medium installed"}, 717 {0x3000, "Incompatible medium installed"},
713 {0x3001, "Cannot read medium - unknown format"}, 718 {0x3001, "Cannot read medium - unknown format"},