]> xenbits.xensource.com Git - seabios.git/commitdiff
Fix merge of a4e2b9adbba95c2d783761e84444bbb3c8d6107b.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 20 Jul 2012 06:42:08 +0000 (02:42 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 20 Jul 2012 06:42:08 +0000 (02:42 -0400)
The manual merge of a4e2b9ad that I did resulted in previous commits
(c7be281b and 20fcf9b) being undone.  Fix that up.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/acpi.c

index 9071bd40789a529f557681a98e7d5e741c77d46d..d39cbd931e4f7435ae26532e2cc27b51eb77d57a 100644 (file)
@@ -294,8 +294,8 @@ build_fadt(struct pci_device *pci)
     fadt->plvl2_lat = cpu_to_le16(0xfff); // C2 state not supported
     fadt->plvl3_lat = cpu_to_le16(0xfff); // C3 state not supported
     pci_init_device(fadt_init_tbl, pci, fadt);
-    /* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC + USE_PLATFORM_CLOCK */
-    fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6) |
+    /* WBINVD + PROC_C1 + SLP_BUTTON + RTC_S4 + USE_PLATFORM_CLOCK */
+    fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 7) |
                               (1 << 15));
 
     build_header((void*)fadt, FACP_SIGNATURE, sizeof(*fadt), 1);