mainboard: New port Packard Bell LM85.
[coreboot.git] / src / mainboard / packardbell / ms2290 / acpi / ac.asl
blob2ef1598be66c0696d03cf3452627edd5a23bd3bc
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (c) 2011 Sven Schnelle <svens@stackframe.org>
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.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
19  * MA 02110-1301 USA
20  */
22 Device(AC)
24         Name(_HID, "ACPI0003")
25         Name(_UID, 0x00)
26         Name(_PCL, Package() { \_SB } )
28         Method(_PSR, 0, NotSerialized)
29         {
30                 return (HPAC)
31         }
33         Method(_STA, 0, NotSerialized)
34         {
35                 Return (0x0f)
36         }
39 /* AC status change */
40 Method(_Q50, 0, NotSerialized)
42         Notify (AC, 0x80)
45 /* AC status change */
46 Method(_Q51, 0, NotSerialized)
48         Notify (AC, 0x80)