summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock/b75pro3-m/acpi/pci.asl
blob: bd02e4d77f4df0cb9787bb86eee9af1f6abae6e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* SPDX-License-Identifier: GPL-2.0-only */

Device (P0P1)
{
	Name (_ADR, 0x001E0000)

	Method (_PRT, 0)
	{
		If (PICM) {
			Return (Package () {
				Package () {0x0001FFFF, 0, 0, 0x14},
				Package () {0x0001FFFF, 1, 0, 0x15},
				Package () {0x0001FFFF, 2, 0, 0x16},
				Package () {0x0001FFFF, 3, 0, 0x17},

				Package () {0x0002FFFF, 0, 0, 0x17},
				Package () {0x0002FFFF, 1, 0, 0x14},
				Package () {0x0002FFFF, 2, 0, 0x15},
				Package () {0x0002FFFF, 3, 0, 0x16}
			})
		} Else {
			Return (Package () {
				Package () {0x0001FFFF, 0, \_SB.PCI0.LPCB.LNKE, 0},
				Package () {0x0001FFFF, 1, \_SB.PCI0.LPCB.LNKF, 0},
				Package () {0x0001FFFF, 2, \_SB.PCI0.LPCB.LNKG, 0},
				Package () {0x0001FFFF, 3, \_SB.PCI0.LPCB.LNKH, 0},

				Package () {0x0002FFFF, 0, \_SB.PCI0.LPCB.LNKH, 0},
				Package () {0x0002FFFF, 1, \_SB.PCI0.LPCB.LNKE, 0},
				Package () {0x0002FFFF, 2, \_SB.PCI0.LPCB.LNKF, 0},
				Package () {0x0002FFFF, 3, \_SB.PCI0.LPCB.LNKG, 0}
			})
		}
	}
}