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("PNP0B00"))
21 Name(_CRS, ResourceTemplate() {
22 IO(Decode16, 0x0070, 0x0070, 0x10, 0x02)
24 IO(Decode16, 0x0072, 0x0072, 0x02, 0x06)
29 Name(_HID, EisaId("PNP0303"))
30 Method(_STA, 0, NotSerialized) {
33 Name(_CRS, ResourceTemplate() {
34 IO(Decode16, 0x0060, 0x0060, 0x01, 0x01)
35 IO(Decode16, 0x0064, 0x0064, 0x01, 0x01)
41 Name(_HID, EisaId("PNP0F13"))
42 Method(_STA, 0, NotSerialized) {
45 Name(_CRS, ResourceTemplate() {
51 Name(_HID, EisaId("PNP0700"))
52 Method(_STA, 0, NotSerialized) {
54 If (LEqual(Local0, 0)) {
60 Name(_CRS, ResourceTemplate() {
61 IO(Decode16, 0x03F2, 0x03F2, 0x00, 0x04)
62 IO(Decode16, 0x03F7, 0x03F7, 0x00, 0x01)
64 DMA(Compatibility, NotBusMaster, Transfer8) { 2 }
69 Name(_HID, EisaId("PNP0400"))
70 Method(_STA, 0, NotSerialized) {
72 If (LEqual(Local0, 0)) {
78 Name(_CRS, ResourceTemplate() {
79 IO(Decode16, 0x0378, 0x0378, 0x08, 0x08)
85 Name(_HID, EisaId("PNP0501"))
87 Method(_STA, 0, NotSerialized) {
89 If (LEqual(Local0, 0)) {
95 Name(_CRS, ResourceTemplate() {
96 IO(Decode16, 0x03F8, 0x03F8, 0x00, 0x08)
102 Name(_HID, EisaId("PNP0501"))
104 Method(_STA, 0, NotSerialized) {
106 If (LEqual(Local0, 0)) {
112 Name(_CRS, ResourceTemplate() {
113 IO(Decode16, 0x02F8, 0x02F8, 0x00, 0x08)