summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-rw-r--r--sys/dev/acpica/acpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index bb34549..2823f62 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -1497,13 +1497,13 @@ acpi_probe_order(ACPI_HANDLE handle, int *order)
ret = 0;
if (acpi_MatchHid(handle, "PNP0C01") || acpi_MatchHid(handle, "PNP0C02")) {
*order = 1;
- ret = 1;
+ ret = 0;
} else if (acpi_MatchHid(handle, "PNP0C09")) {
*order = 2;
- ret = 1;
+ ret = 0;
} else if (acpi_MatchHid(handle, "PNP0C0F")) {
*order = 3;
- ret = 1;
+ ret = 0;
}
return (ret);
OpenPOWER on IntegriCloud