lkml.org 
[lkml]   [2003]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: allow legacy free hw with no smi cmd port
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/drivers/acpi/hardware/hwacpi.c linux.22-pre5-ac1/drivers/acpi/hardware/hwacpi.c
--- linux.22-pre5/drivers/acpi/hardware/hwacpi.c 2003-07-14 12:27:34.000000000 +0100
+++ linux.22-pre5-ac1/drivers/acpi/hardware/hwacpi.c 2003-07-07 16:30:46.000000000 +0100
@@ -208,6 +208,10 @@

ACPI_FUNCTION_TRACE ("hw_get_mode");

+ /* If there's no smi_cmd port, then it's ACPI only hw */
+ if (!acpi_gbl_FADT->smi_cmd)
+ return_VALUE (ACPI_SYS_MODE_ACPI);
+
status = acpi_get_register (ACPI_BITREG_SCI_ENABLE, &value, ACPI_MTX_LOCK);
if (ACPI_FAILURE (status)) {
return_VALUE (ACPI_SYS_MODE_LEGACY);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.700 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site