summaryrefslogtreecommitdiff
path: root/src/mainboard/via/epia-n/acpi/pci_init.asl
blob: 3169a03d5060e31cadc9811a2c4695a97d11dfd6 (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
/*
 * Minimalist ACPI DSDT table for EPIA-N / NL
 * Basic description of PCI Interrupt Assignments.
 * This is expected to be included into _SB.PCI0 namespace
 * (C) Copyright 2009 Jon Harrison <jon.harrison@blueyonder.co.uk>
 *
 */

/* This file provides a PCI Bus Initialisation Method that sets
 * some flags for use in the interrupt link assignment
 */

Method (\_SB.PCI0._INI, 0, NotSerialized)
{

	/* Checking for ATA Interface Enabled */
	Store (0x00, ATFL)
	If (LEqual (EIDE, 0x01))
	{
    	Store (0x02, ATFL)
	}
	Else
	{
    	If (LNotEqual (\_SB.PCI0.PATA.VID, 0x1106))
    	{
        	Store (0x01, ATFL)
    	}
	}

}