diff options
author | Hannes Reinecke <hare@suse.de> | 2021-01-13 10:05:00 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-23 03:14:12 +0100 |
commit | 491152c7c3b51c17056b14606e3b3bc6300a3eaa (patch) | |
tree | a69797ca152ed0eaeb12c620eb047102232809c9 /drivers/scsi/ncr53c8xx.h | |
parent | scsi: advansys: Kill driver-defined status byte accessors (diff) | |
download | linux-491152c7c3b51c17056b14606e3b3bc6300a3eaa.tar.xz linux-491152c7c3b51c17056b14606e3b3bc6300a3eaa.zip |
scsi: ncr53c8xx: Use SAM status values
Use SAM status values instead of the driver-defined ones. This also fixes
a potential bug as the driver-defined values declare 'COMMAND TERMINATED'
with a value of 0x20, whereas SCSI-II defines it with a value of 0x22.
Link: https://lore.kernel.org/r/20210113090500.129644-36-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ncr53c8xx.h')
-rw-r--r-- | drivers/scsi/ncr53c8xx.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/scsi/ncr53c8xx.h b/drivers/scsi/ncr53c8xx.h index 8326f5f01e07..fa14b5ca8783 100644 --- a/drivers/scsi/ncr53c8xx.h +++ b/drivers/scsi/ncr53c8xx.h @@ -1239,22 +1239,6 @@ struct scr_tblsel { */ /* -** Status -*/ - -#define S_GOOD (0x00) -#define S_CHECK_COND (0x02) -#define S_COND_MET (0x04) -#define S_BUSY (0x08) -#define S_INT (0x10) -#define S_INT_COND_MET (0x14) -#define S_CONFLICT (0x18) -#define S_TERMINATED (0x20) -#define S_QUEUE_FULL (0x28) -#define S_ILLEGAL (0xff) -#define S_SENSE (0x80) - -/* * End of ncrreg from FreeBSD */ |