Fix broken _DIS and _SRS methods in ACPI AML irq routing.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 17 Dec 2011 15:26:17 +0000 (10:26 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 17 Dec 2011 15:26:17 +0000 (10:26 -0500)
commit891766f3b4d6996d02322aa48070d2e7e950e582
treee2383932af36b84809fa5729a2b02dbf8b971a33
parentaba52eba96e019b396177e0e422fc053640aeeb2
Fix broken _DIS and _SRS methods in ACPI AML irq routing.

The RefOf() operator doesn't do what was expected (at least on Linux)
- issuing "Store(1, RefOf(PRQ0))" doesn't write to the PRQ0 Field
defined on the OperationRegion.  Instead, it seems to redefine PRQ0 to
be an integer.

Fix this by defining the _DIS and _SRS methods as pre-processor
macros.  This way the RefOf() operator isn't needed.
src/acpi-dsdt.dsl
src/acpi-dsdt.hex