[coreboot-gerrit] New patch to review for coreboot: 7fcec93 Lenovo X60: dsdt.asl: Add _OSC method
Denis Carikli (GNUtoo@no-log.org)
gerrit at coreboot.org
Thu Mar 28 14:33:13 CET 2013
Denis Carikli (GNUtoo at no-log.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2938
-gerrit
commit 7fcec935efe0c93c60bcb92693dfdc7918a07b5d
Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date: Thu Mar 28 14:24:39 2013 +0100
Lenovo X60: dsdt.asl: Add _OSC method
This commit was modelled after the following commit:
00a0e76bc5ffaba01c98f1c1384b0499516fdaef
(AMD Fam14 DSDT: Add OSC method)
Tested under the parabola GNU/Linux distribution:
$ dmesg | grep _OSC
[ 0.107867] pci_root PNP0A08:00: Requesting ACPI _OSC control (0x1d)
[ 0.107894] pci_root PNP0A08:00: ACPI _OSC control (0x1d) granted
Change-Id: I1caffa44eea447d553c01caaf431f2db241ea5ea
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
src/mainboard/lenovo/x60/dsdt.asl | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/mainboard/lenovo/x60/dsdt.asl b/src/mainboard/lenovo/x60/dsdt.asl
index f32a220..ac7fbf9 100644
--- a/src/mainboard/lenovo/x60/dsdt.asl
+++ b/src/mainboard/lenovo/x60/dsdt.asl
@@ -45,6 +45,16 @@ DefinitionBlock(
{
#include <northbridge/intel/i945/acpi/i945.asl>
#include <southbridge/intel/i82801gx/acpi/ich7.asl>
+
+ /* Operating System Capabilities Method */
+ Method(_OSC,4)
+ { /* Check for proper PCI/PCIe UUID */
+ If(LEqual(Arg0,ToUUID("33DB4D5B-1FF7-401C-9657-7441C03DD766")))
+ {
+ /* Let OS control everything */
+ Return (Arg3)
+ }
+ }
}
}
More information about the coreboot-gerrit
mailing list