aboutsummaryrefslogtreecommitdiff
path: root/drivers/atm/Makefile
diff options
context:
space:
mode:
authorDamien Le Moal2021-11-09 08:45:25 +0900
committerDamien Le Moal2021-11-12 08:05:17 +0900
commit636f6e2af4fb916b9f1b432964294b6979c34002 (patch)
tree6c1bc0f42863e9cc2af27f0899fa457afb216794 /drivers/atm/Makefile
parent51839e25d43dc6c91d653995a41a3dfc52a21e33 (diff)
libata: add horkage for missing Identify Device log
ACS-3 introduced the ATA Identify Device Data log as mandatory. A warning message currently signals to the user if a device does not report supporting this log page in the log directory page, regardless of the ATA version of the device. Furthermore, this warning will appear for all attempts at accessing this missing log page during device revalidation. Since it is useless to constantly access the log directory and warn about this lack of support once we have discovered that the device does not support this log page, introduce the horkage flag ATA_HORKAGE_NO_ID_DEV_LOG to mark a device as lacking support for the Identify Device Data log page. Set this flag when ata_log_supported() returns false in ata_identify_page_supported(). The warning is printed only if the device ATA level is 10 or above (ACS-3 or above), and only once on device scan. With this flag set, the log directory page is not accessed again to test for Identify Device Data log page support. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/atm/Makefile')
0 files changed, 0 insertions, 0 deletions