aboutsummaryrefslogtreecommitdiff
path: root/modified/scsi/scsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'modified/scsi/scsi.h')
-rw-r--r--modified/scsi/scsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modified/scsi/scsi.h b/modified/scsi/scsi.h
index 77ad18d..9eb7d79 100644
--- a/modified/scsi/scsi.h
+++ b/modified/scsi/scsi.h
@@ -130,6 +130,7 @@ enum scsi_disposition {
* msg_byte (unused)
* host_byte = set by low-level driver to indicate status.
*/
+#define status_byte(result) (result & 0xff)
#define host_byte(result) (((result) >> 16) & 0xff)
#define sense_class(sense) (((sense) >> 4) & 0x7)