From: Vitaly Wool <vw...@dev.rtsoft.ru> Change the default value for atapi_an parameter within libata-core to enable asynchronous notifications (AN) by default for all ATAPI devices that support them.
Signed-off-by: Vitaly Wool <vw...@dev.rtsoft.ru> Signed-off-by: Nikita Yushchenko <nyushche...@dev.rtsoft.ru> Signed-off-by: Lim Key Seong <key.seong....@intel.com> --- drivers/ata/libata-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index e0064d1..78b9540 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -164,7 +164,7 @@ int libata_allow_tpm = 0; module_param_named(allow_tpm, libata_allow_tpm, int, 0444); MODULE_PARM_DESC(allow_tpm, "Permit the use of TPM commands (0=off [default], 1=on)"); -static int atapi_an; +static int atapi_an = 1; module_param(atapi_an, int, 0444); MODULE_PARM_DESC(atapi_an, "Enable ATAPI AN media presence notification (0=0ff [default], 1=on)"); -- 2.7.3 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto