[SCSI] Unify SAM_ and SAM_STAT_ macros
We have two separate definitions for identical constants with nearly the same name. One comes from the generic headers in scsi.h; the other is an enum in libsas.h ... it's causing confusion about which one is correct (fortunately they both are). Fix this by eliminating the libsas.h duplicate Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
@@ -422,16 +422,7 @@ enum service_response {
|
||||
};
|
||||
|
||||
enum exec_status {
|
||||
SAM_GOOD = 0,
|
||||
SAM_CHECK_COND = 2,
|
||||
SAM_COND_MET = 4,
|
||||
SAM_BUSY = 8,
|
||||
SAM_INTERMEDIATE = 0x10,
|
||||
SAM_IM_COND_MET = 0x12,
|
||||
SAM_RESV_CONFLICT= 0x14,
|
||||
SAM_TASK_SET_FULL= 0x28,
|
||||
SAM_ACA_ACTIVE = 0x30,
|
||||
SAM_TASK_ABORTED = 0x40,
|
||||
/* The SAM_STAT_.. codes fit in the lower 6 bits */
|
||||
|
||||
SAS_DEV_NO_RESPONSE = 0x80,
|
||||
SAS_DATA_UNDERRUN,
|
||||
|
||||
Reference in New Issue
Block a user