diff options
author | Igor Pylypiv <ipylypiv@google.com> | 2024-03-08 00:44:13 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-03-25 23:00:06 +0300 |
commit | b4d3ddd2df7531e35c5f4e0b048d0999851747ae (patch) | |
tree | f7c15bc78904fdf47a5e2a7dc7d119e870a7300d /drivers/scsi/pm8001 | |
parent | abeded46bc1922e2249f6665654b5d81e7c5e1f1 (diff) | |
download | linux-b4d3ddd2df7531e35c5f4e0b048d0999851747ae.tar.xz |
scsi: libsas: Define NCQ Priority sysfs attributes for SATA devices
libata sysfs attributes cannot be used for libsas-managed SATA devices
because the ata_port location is different for libsas.
Defined sysfs attributes (visible for SATA devices only):
- /sys/block/sda/device/ncq_prio_enable
- /sys/block/sda/device/ncq_prio_supported
The newly defined attributes will pass the correct ata_port to libata
helper functions.
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Igor Pylypiv <ipylypiv@google.com>
Link: https://lore.kernel.org/r/20240307214418.3812290-3-ipylypiv@google.com
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pm8001')
0 files changed, 0 insertions, 0 deletions