Please bear with me - another rename checkin. This qualifies as trivial, no
[coreboot.git] / src / mainboard / amd / serengeti_cheetah_fam10 / dx / amd8151.asl
1 //
2 // This file is part of the coreboot project.
3 //
4 // Copyright (C) 2007 Advanced Micro Devices, Inc.
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; version 2 of the License.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
18 //
19
20 // AMD8151
21         Device (AGPB)
22         {
23                 Method (_ADR, 0, NotSerialized)
24                 {
25                         Return (DADD(GHCD(HCIN, 0), 0x00010000))
26                 }
27
28                 Name (APIC, Package (0x04)
29                 {
30                         Package (0x04) { 0x0000FFFF, 0x00, 0x00, 0x10 },
31                         Package (0x04) { 0x0000FFFF, 0x01, 0x00, 0x11 },
32                         Package (0x04) { 0x0000FFFF, 0x02, 0x00, 0x12 },
33                         Package (0x04) { 0x0000FFFF, 0x03, 0x00, 0x13 }
34                 })
35                 Name (PICM, Package (0x04)
36                 {
37                         Package (0x04) { 0x0000FFFF, 0x00, \_SB.PCI0.LNKA, 0x00 },
38                         Package (0x04) { 0x0000FFFF, 0x01, \_SB.PCI0.LNKB, 0x00 },
39                         Package (0x04) { 0x0000FFFF, 0x02, \_SB.PCI0.LNKC, 0x00 },
40                         Package (0x04) { 0x0000FFFF, 0x03, \_SB.PCI0.LNKD, 0x00 }
41                 })
42                 Method (_PRT, 0, NotSerialized)
43                 {
44                         If (LNot (PICF)) { Return (PICM) }
45                         Else { Return (APIC) }
46                 }
47         }
48