Whole document tree 6.15. masked_statusLogically: masked_status == ((status & 0x3e) >> 1) . So 'masked_status' strips the vendor information bits off 'status' and then shifts it right one position. This makes it easier to do things like "if (CHECK_CONDITION == masked_status) ..." using the definitions in <scsi/scsi.h>. The defined values in this file are:
Note that SCSI 3 defines some additional status codes. The type of masked_status is unsigned char . |