diff options
author | John Garry <john.garry@huawei.com> | 2022-03-11 20:23:51 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-03-14 23:33:24 -0400 |
commit | 2cbbf489778eb9dde51392ec5f74ae2868e4b857 (patch) | |
tree | 83fce491ce40055cc5afe7620b1d61fbc1c7e5f3 /drivers/scsi/pm8001/pm8001_hwi.h | |
parent | 6a91c3e31578979a93b500efc76af4d3499f75ad (diff) | |
download | linux-2cbbf489778eb9dde51392ec5f74ae2868e4b857.tar.gz |
scsi: pm8001: Use libsas internal abort support
New special handling is added for SAS_PROTOCOL_INTERNAL_ABORT proto so that
we may use the common queue command API.
Link: https://lore.kernel.org/r/1647001432-239276-4-git-send-email-john.garry@huawei.com
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_hwi.h')
-rw-r--r-- | drivers/scsi/pm8001/pm8001_hwi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/pm8001/pm8001_hwi.h b/drivers/scsi/pm8001/pm8001_hwi.h index d1f3aa93325b..961d0465b923 100644 --- a/drivers/scsi/pm8001/pm8001_hwi.h +++ b/drivers/scsi/pm8001/pm8001_hwi.h @@ -434,11 +434,6 @@ struct task_abort_req { u32 reserved[11]; } __attribute__((packed, aligned(4))); -/* These flags used for SSP SMP & SATA Abort */ -#define ABORT_MASK 0x3 -#define ABORT_SINGLE 0x0 -#define ABORT_ALL 0x1 - /** * brief the data structure of SSP SATA SMP Abort Response * use to describe SSP SMP & SATA Abort Response ( 64 bytes) |