[linux-yocto] [PATCH 6/8] libata: enable atapi_an by default
Yong, Jonathan
jonathan.yong at intel.com
Thu Jun 30 00:06:52 PDT 2016
From: Vitaly Wool <vwool at 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 <vwool at dev.rtsoft.ru>
Signed-off-by: Nikita Yushchenko <nyushchenko at dev.rtsoft.ru>
Signed-off-by: Lim Key Seong <key.seong.lim at 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
More information about the linux-yocto
mailing list