Would you be so kind to try to revert this patch?
I'm just guessing

You have to pass -R flag to patch program to apply the patch

=========================

--- head/sys/dev/acpica/acpi_acad.c     2009/06/05 18:44:36     193530
+++ head/sys/dev/acpica/acpi_acad.c     2009/09/30 17:07:49     197649
@@ -109,13 +109,14 @@
     ACPI_SERIAL_BEGIN(acad);
     if (newstatus != -1 && sc->status != newstatus) {
        sc->status = newstatus;
+       ACPI_SERIAL_END(acad);
        power_profile_set_state(newstatus ? POWER_PROFILE_PERFORMANCE :
            POWER_PROFILE_ECONOMY);
        ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev),
            "%s Line\n", newstatus ? "On" : "Off");
        acpi_UserNotify("ACAD", h, newstatus);
-    }
-    ACPI_SERIAL_END(acad);
+    } else
+       ACPI_SERIAL_END(acad);
 }

 static void
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to