3169a03d5060e31cadc9811a2c4695a97d11dfd6
[coreboot.git] / src / mainboard / via / epia-n / pci_init.asl
1 /*
2  * Minimalist ACPI DSDT table for EPIA-N / NL
3  * Basic description of PCI Interrupt Assignments.
4  * This is expected to be included into _SB.PCI0 namespace
5  * (C) Copyright 2009 Jon Harrison <jon.harrison@blueyonder.co.uk>
6  *
7  */
8
9 /* This file provides a PCI Bus Initialisation Method that sets
10  * some flags for use in the interrupt link assignment
11  */
12
13 Method (\_SB.PCI0._INI, 0, NotSerialized)
14 {
15
16         /* Checking for ATA Interface Enabled */
17         Store (0x00, ATFL)
18         If (LEqual (EIDE, 0x01))
19         {
20         Store (0x02, ATFL)
21         }
22         Else
23         {
24         If (LNotEqual (\_SB.PCI0.PATA.VID, 0x1106))
25         {
26                 Store (0x01, ATFL)
27         }
28         }
29
30 }