Jon Harrison | 9c2e738 | 2009-08-18 15:12:13 +0000 | [diff] [blame^] | 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 | } |