mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 06:24:43 +01:00
ata: libata-core: Advertize device support for DIPM and HIPM features
Modify ata_dev_print_features() to advertize if a device supports the Device Initiated Power Management (DIPM) and Host Initiated Power Management (HIPM) features. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Niklas Cassel <cassel@kernel.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20250701125321.69496-4-dlemoal@kernel.org Signed-off-by: Niklas Cassel <cassel@kernel.org>
This commit is contained in:
parent
d99a9142e7
commit
b1f5af54f1
1 changed files with 3 additions and 1 deletions
|
|
@ -2846,11 +2846,13 @@ static void ata_dev_print_features(struct ata_device *dev)
|
|||
return;
|
||||
|
||||
ata_dev_info(dev,
|
||||
"Features:%s%s%s%s%s%s%s%s\n",
|
||||
"Features:%s%s%s%s%s%s%s%s%s%s\n",
|
||||
dev->flags & ATA_DFLAG_FUA ? " FUA" : "",
|
||||
dev->flags & ATA_DFLAG_TRUSTED ? " Trust" : "",
|
||||
dev->flags & ATA_DFLAG_DA ? " Dev-Attention" : "",
|
||||
dev->flags & ATA_DFLAG_DEVSLP ? " Dev-Sleep" : "",
|
||||
ata_id_has_hipm(dev->id) ? " HIPM" : "",
|
||||
ata_id_has_dipm(dev->id) ? " DIPM" : "",
|
||||
dev->flags & ATA_DFLAG_NCQ_SEND_RECV ? " NCQ-sndrcv" : "",
|
||||
dev->flags & ATA_DFLAG_NCQ_PRIO ? " NCQ-prio" : "",
|
||||
dev->flags & ATA_DFLAG_CDL ? " CDL" : "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue