summaryrefslogtreecommitdiffstats
path: root/src/mainboard/via/epia-n/acpi/pci_init.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/via/epia-n/acpi/pci_init.asl')
-rw-r--r--src/mainboard/via/epia-n/acpi/pci_init.asl30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/via/epia-n/acpi/pci_init.asl b/src/mainboard/via/epia-n/acpi/pci_init.asl
new file mode 100644
index 000000000000..3169a03d5060
--- /dev/null
+++ b/src/mainboard/via/epia-n/acpi/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)
+ }
+ }
+
+}