Serious bug in ACPI enumeration

From: Pavel Machek (pavel@suse.cz)
Date: Thu Apr 05 2001 - 15:51:23 EST


Hi!

My "toshiba workaround" was not toshiba specific: you stopped scanning
at first device that was not present. That's bad, you have to continue
scanning. Here's fix.

                                                                Pavel

--- clean/drivers/acpi/namespace/nsxfobj.c Sun Apr 1 00:23:00 2001
+++ linux/drivers/acpi/namespace/nsxfobj.c Thu Apr 5 22:49:18 2001
@@ -592,7 +595,7 @@
 
         status = acpi_cm_execute_STA (node, &flags);
         if (ACPI_FAILURE (status)) {
- return (status);
+ return AE_OK;
         }
 
         if (!(flags & 0x01)) {

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
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/



This archive was generated by hypermail 2b29 : Sat Apr 07 2001 - 21:00:19 EST