blob: d067acc54e58a6a16f85c1bb3d8b01e16b514460 [file] [log] [blame]
Stefan Reinauer7cfa7f92010-05-16 14:24:41 +00001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2009 coresystems GmbH
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
9 * the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Stefan Reinauer7cfa7f92010-05-16 14:24:41 +000015 */
16
17Device (LID0)
18{
19 Name(_HID, EisaId("PNP0C0D"))
20 Method(_LID, 0)
21 {
22 If(\_SB.PCI0.LPCB.EC0.LIDS) {
23 Return (0)
24 } Else {
25 Return (1)
26 }
27 }
28}
29
30Device (SLPB)
31{
32 Name(_HID, EisaId("PNP0C0E"))
33}
34
35Device (PWRB)
36{
37 Name(_HID, EisaId("PNP0C0C"))
Patrick Georgi472efa62012-02-16 20:44:20 +010038
Stefan Reinauer7cfa7f92010-05-16 14:24:41 +000039 // Wake
40 Name(_PRW, Package(){0x1d, 0x04})
41}
42
43#include "acpi/battery.asl"