mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
ata: libata: Print features also for ATAPI devices
Commitd633b8a702("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:d633b8a702("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>
This commit is contained in:
parent
89531b68fc
commit
c8c6fb886f
1 changed files with 3 additions and 0 deletions
|
|
@ -3119,6 +3119,9 @@ int ata_dev_configure(struct ata_device *dev)
|
|||
dma_dir_string);
|
||||
|
||||
ata_dev_config_lpm(dev);
|
||||
|
||||
if (print_info)
|
||||
ata_dev_print_features(dev);
|
||||
}
|
||||
|
||||
/* determine max_sectors */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue