scsi: hisi_sas: Change frame type for SET MAX commands
authorchenxiang <chenxiang66@hisilicon.com>
Thu, 28 Dec 2017 10:20:47 +0000 (18:20 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jan 2018 04:25:08 +0000 (23:25 -0500)
commit468f4b8d0711146f0075513e6047079a26fc3903
treeb45eb423fb1b4ac252f8b297b06d9850b271b1d3
parentd5c15c2c22a8d4e0e82ca95eac5a6ccd175c0762
scsi: hisi_sas: Change frame type for SET MAX commands

According to ATA protocol, SET MAX commands belong to different frame
types. So judge features field of SET MAX commands to decide which
frame type they belongs to.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c