[PATCH 2/2] IPMI and acpi=off|ht : ipmi_si_intf-acpi-disabled

From: Yann Droneaud
Date: Mon May 16 2005 - 16:55:59 EST



This patch fix ipmi_si_intf to not use ACPI tables if the ACPI
subsystem is disabled.

--- linux-2.6.11.9/drivers/char/ipmi/ipmi_si_intf.c 2005-05-11 18:41:12.000000000 -0400
+++ linux-2.6.11.9-fixes/drivers/char/ipmi/ipmi_si_intf.c 2005-05-16 16:38:11.780589696 -0400
@@ -1443,6 +1443,9 @@ static int try_init_acpi(int intf_num, s
char *io_type;
u8 addr_space;

+ if (acpi_disabled)
+ return -ENODEV;
+
if (acpi_failure)
return -ENODEV;


Signed-Off-by: ydroneaud@xxxxxxxxxxxx

--
Yann Droneaud <ydroneaud@xxxxxxxxxxxx>
Consulting Engineer
Professional Services
Mandriva http://mandriva.com/ (previously known as Mandrakesoft)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/