[libata] Disable ACPI by default; fix namespace problems
Not yet ready to turn on ATA ACPI by default, for either PATA or SATA. Also, rename the global-scope module parameter variable 'noacpi' to something more libata-specific, reducing the potential for namespace collision. Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -93,8 +93,8 @@ static int ata_probe_timeout = ATA_TMOUT_INTERNAL / HZ;
|
||||
module_param(ata_probe_timeout, int, 0444);
|
||||
MODULE_PARM_DESC(ata_probe_timeout, "Set ATA probing timeout (seconds)");
|
||||
|
||||
int noacpi;
|
||||
module_param(noacpi, int, 0444);
|
||||
int libata_noacpi = 1;
|
||||
module_param_named(noacpi, libata_noacpi, int, 0444);
|
||||
MODULE_PARM_DESC(noacpi, "Disables the use of ACPI in suspend/resume when set");
|
||||
|
||||
MODULE_AUTHOR("Jeff Garzik");
|
||||
|
Reference in New Issue
Block a user