2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License along
13 * with this program; if not, see <http://www.gnu.org/licenses/>.
16 /* Common legacy ISA style devices. */
17 Scope(\_SB.PCI0.ISA) {
20 Name(_HID, EisaId("APP0001"))
21 /* _STA will be patched to 0x0B if AppleSMC is present */
22 ACPI_EXTRACT_NAME_WORD_CONST DSDT_APPLESMC_STA
24 Name(_CRS, ResourceTemplate () {
25 IO (Decode16, 0x0300, 0x0300, 0x01, 0x20)
31 Name(_HID, EisaId("PNP0B00"))
32 Name(_CRS, ResourceTemplate() {
33 IO(Decode16, 0x0070, 0x0070, 0x10, 0x02)
35 IO(Decode16, 0x0072, 0x0072, 0x02, 0x06)
40 Name(_HID, EisaId("PNP0303"))
41 Method(_STA, 0, NotSerialized) {
44 Name(_CRS, ResourceTemplate() {
45 IO(Decode16, 0x0060, 0x0060, 0x01, 0x01)
46 IO(Decode16, 0x0064, 0x0064, 0x01, 0x01)
52 Name(_HID, EisaId("PNP0F13"))
53 Method(_STA, 0, NotSerialized) {
56 Name(_CRS, ResourceTemplate() {
62 Name(_HID, EisaId("PNP0700"))
63 Method(_STA, 0, NotSerialized) {
65 If (LEqual(Local0, 0)) {
71 Name(_CRS, ResourceTemplate() {
72 IO(Decode16, 0x03F2, 0x03F2, 0x00, 0x04)
73 IO(Decode16, 0x03F7, 0x03F7, 0x00, 0x01)
75 DMA(Compatibility, NotBusMaster, Transfer8) { 2 }
80 Name(_HID, EisaId("PNP0400"))
81 Method(_STA, 0, NotSerialized) {
83 If (LEqual(Local0, 0)) {
89 Name(_CRS, ResourceTemplate() {
90 IO(Decode16, 0x0378, 0x0378, 0x08, 0x08)
96 Name(_HID, EisaId("PNP0501"))
98 Method(_STA, 0, NotSerialized) {
100 If (LEqual(Local0, 0)) {
106 Name(_CRS, ResourceTemplate() {
107 IO(Decode16, 0x03F8, 0x03F8, 0x00, 0x08)
113 Name(_HID, EisaId("PNP0501"))
115 Method(_STA, 0, NotSerialized) {
117 If (LEqual(Local0, 0)) {
123 Name(_CRS, ResourceTemplate() {
124 IO(Decode16, 0x02F8, 0x02F8, 0x00, 0x08)