]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ata: libata: Print features also for ATAPI devices
authorNiklas Cassel <cassel@kernel.org>
Mon, 12 Jan 2026 12:20:51 +0000 (13:20 +0100)
committerDamien Le Moal <dlemoal@kernel.org>
Tue, 13 Jan 2026 13:00:02 +0000 (22:00 +0900)
commitc8c6fb886f57d5bf71fb6de6334a143608d35707
treec4a28c3bf7d3ba8f0c9308e278ddf83eba41cc1a
parent89531b68fc293e91187bf0992147e8d22c65cff3
ata: libata: Print features also for ATAPI devices

Commit d633b8a702ab ("libata: print feature list on device scan")
added a print of the features supported by the device for ATA_DEV_ATA and
ATA_DEV_ZAC devices, but not for ATA_DEV_ATAPI devices.

Fix this by printing the features also for ATAPI devices.

Before changes:
ata1.00: ATAPI: Slimtype DVD A  DU8AESH, 6C2M, max UDMA/133

After changes:
ata1.00: ATAPI: Slimtype DVD A  DU8AESH, 6C2M, max UDMA/133
ata1.00: Features: Dev-Attention HIPM DIPM

Fixes: d633b8a702ab ("libata: print feature list on device scan")
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Tested-by: Wolf <wolf@yoxt.cc>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/libata-core.c