diff options
author | Jon Harrison <bothlyn@blueyonder.co.uk> | 2009-08-18 15:12:13 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-08-18 15:12:13 +0000 |
commit | 9c2e738653df435afec8a8f212d0c2c69aa9645c (patch) | |
tree | 6762f714beb12c139cc06024bd2a934b59669f45 /src/mainboard/via/epia-n/pci_init.asl | |
parent | 1825be291f49f892fa8c048974239aa0daa4de56 (diff) |
Add the rest of the files.
Thanks Jon.
Signed-off-by: Jon Harrison <bothlyn@blueyonder.co.uk>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4550 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via/epia-n/pci_init.asl')
-rw-r--r-- | src/mainboard/via/epia-n/pci_init.asl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/via/epia-n/pci_init.asl b/src/mainboard/via/epia-n/pci_init.asl new file mode 100644 index 0000000000..3169a03d50 --- /dev/null +++ b/src/mainboard/via/epia-n/pci_init.asl @@ -0,0 +1,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) + } + } + +} |