commit | 891766f3b4d6996d02322aa48070d2e7e950e582 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Dec 17 10:26:17 2011 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Dec 17 10:26:17 2011 -0500 |
tree | e2383932af36b84809fa5729a2b02dbf8b971a33 | |
parent | aba52eba96e019b396177e0e422fc053640aeeb2 [diff] |
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.