diff options
Diffstat (limited to 'src/superio')
-rw-r--r-- | src/superio/acpi/pnp.asl | 2 | ||||
-rw-r--r-- | src/superio/acpi/pnp_kbc.asl | 4 | ||||
-rw-r--r-- | src/superio/smsc/sch5545/acpi/resource_helpers.asl | 30 | ||||
-rw-r--r-- | src/superio/smsc/sch5545/acpi/superio.asl | 18 | ||||
-rw-r--r-- | src/superio/winbond/w83627hf/acpi/superio.asl | 40 |
5 files changed, 47 insertions, 47 deletions
diff --git a/src/superio/acpi/pnp.asl b/src/superio/acpi/pnp.asl index dbdba5cb53..488a0db278 100644 --- a/src/superio/acpi/pnp.asl +++ b/src/superio/acpi/pnp.asl @@ -55,7 +55,7 @@ #define PNP_GENERIC_DIS(LDN) \ ENTER_CONFIG_MODE (LDN)\ - PNP_DEVICE_ACTIVE = Zero \ + PNP_DEVICE_ACTIVE = 0 \ EXIT_CONFIG_MODE ()\ diff --git a/src/superio/acpi/pnp_kbc.asl b/src/superio/acpi/pnp_kbc.asl index 4fd5ab0607..b0055be225 100644 --- a/src/superio/acpi/pnp_kbc.asl +++ b/src/superio/acpi/pnp_kbc.asl @@ -46,7 +46,7 @@ Device (SUPERIO_ID(KBD, SUPERIO_KBC_LDN)) { Method (_DIS) { ENTER_CONFIG_MODE (SUPERIO_KBC_LDN) - PNP_DEVICE_ACTIVE = Zero + PNP_DEVICE_ACTIVE = 0 EXIT_CONFIG_MODE () #if defined(SUPERIO_KBC_PS2LDN) Notify (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN), 1) @@ -166,7 +166,7 @@ Device (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN)) { Method (_DIS) { ENTER_CONFIG_MODE (SUPERIO_KBC_PS2LDN) - PNP_DEVICE_ACTIVE = Zero + PNP_DEVICE_ACTIVE = 0 EXIT_CONFIG_MODE () } diff --git a/src/superio/smsc/sch5545/acpi/resource_helpers.asl b/src/superio/smsc/sch5545/acpi/resource_helpers.asl index c3557f8d29..528bdb6365 100644 --- a/src/superio/smsc/sch5545/acpi/resource_helpers.asl +++ b/src/superio/smsc/sch5545/acpi/resource_helpers.asl @@ -41,7 +41,7 @@ Method (DSTA, 1, NotSerialized) Local0 = PNP_DEVICE_ACTIVE If (Local0 == 0xFF) { - Return (Zero) + Return (0) } Local0 &= 1 @@ -60,7 +60,7 @@ Method (DSTA, 1, NotSerialized) } Else { - Return (Zero) + Return (0) } EXIT_CONFIG_MODE () @@ -154,7 +154,7 @@ Method (GIOB, 1, NotSerialized) Return (Local0) } - Return (Zero) + Return (0) } /* Read IRQ resource */ @@ -239,7 +239,7 @@ Method (SIRQ, 2, NotSerialized) } Else { - Return (Zero) + Return (0) } } @@ -270,12 +270,12 @@ Method (SDMA, 2, NotSerialized) If (Local0 != Local1) { PNP_ADDR_REG = Local3 - PNP_DATA_REG = Zero + PNP_DATA_REG = 0 Break } Else { - Return (Zero) + Return (0) } } @@ -286,7 +286,7 @@ Method (SDMA, 2, NotSerialized) Local0 += 0x51 PNP_ADDR_REG = Local0 PNP_DATA_REG = (0x80 | CGLD (Arg0)) - Return (Zero) + Return (0) } /* Device Current Resource Settings */ @@ -299,9 +299,9 @@ Method (DCRS, 2, NotSerialized) IO12 = IO11 LEN1 = 0x08 IRQM = GIRQ (Arg0) - If ((GDMA (Arg0) > 0x03) || (Arg1 == Zero)) + If ((GDMA (Arg0) > 0x03) || (Arg1 == 0)) { - DMAM = Zero + DMAM = 0 } Else { @@ -319,9 +319,9 @@ Method (DCRS, 2, NotSerialized) IO12 = IO11 LEN1 = 0x08 IRQM = GIRQ (Arg0) - If ((GDMA (Arg0) > 0x03) || (Arg1 == Zero)) + If ((GDMA (Arg0) > 0x03) || (Arg1 == 0)) { - DMAM = Zero + DMAM = 0 } Else { @@ -353,9 +353,9 @@ Method (DCRS, 2, NotSerialized) } IRQE = GIRQ (Arg0) - If ((GDMA (Arg0) > 0x03) || (Arg1 == Zero)) + If ((GDMA (Arg0) > 0x03) || (Arg1 == 0)) { - DMAM = Zero + DMAM = 0 } Else { @@ -395,9 +395,9 @@ Method (DCRS, 2, NotSerialized) IO32 = IO31 /* \_SB_.PCI0.LPCB.SIO1.IO31 */ LEN3 = 1 IRQE = GIRQ (Arg0) - If ((GDMA (Arg0) > 0x03) || (Arg1 == Zero)) + If ((GDMA (Arg0) > 0x03) || (Arg1 == 0)) { - DMAM = Zero + DMAM = 0 } Else { diff --git a/src/superio/smsc/sch5545/acpi/superio.asl b/src/superio/smsc/sch5545/acpi/superio.asl index 8fb9da2824..c9a5f5a22e 100644 --- a/src/superio/smsc/sch5545/acpi/superio.asl +++ b/src/superio/smsc/sch5545/acpi/superio.asl @@ -56,7 +56,7 @@ Device(SIO1) { Name (IOST, 0x0001) /* IO decoding status */ Name (MSFG, 1) /* Mouse wake config */ Name (KBFG, 1) /* Keyboard wake config */ - Name (PMFG, Zero) /* Wake config */ + Name (PMFG, 0) /* Wake config */ /* SuperIO configuration ports */ OperationRegion (CREG, SystemIO, SUPERIO_PNP_BASE, 0x02) @@ -316,7 +316,7 @@ Device(SIO1) { While (KRDY) {} KP60 = 0xED While (KRDY) {} - KP60 = Zero + KP60 = 0 While (KRDY) {} KP60 = 0xF4 Sleep (1) @@ -383,17 +383,17 @@ Device(SIO1) { Name (_UID, SUPERIO_UID(SER, SUPERIO_UARTA_LDN)) Method (_STA, 0, NotSerialized) { - Return (DSTA (Zero)) + Return (DSTA (0)) } Method (_DIS, 0, NotSerialized) { - DCNT (Zero, Zero) + DCNT (0, 0) } Method (_CRS, 0, NotSerialized) { - Return (DCRS (Zero, Zero)) + Return (DCRS (0, 0)) } Method (_SRS, 1, NotSerialized) @@ -402,9 +402,9 @@ Device(SIO1) { CreateWordField (Arg0, 0x09, IRQM) ENTER_CONFIG_MODE (SUPERIO_LPC_LDN) STIO (0x6A, IO11) - SIRQ (Zero, IRQM) + SIRQ (0, IRQM) EXIT_CONFIG_MODE () - DCNT (Zero, 1) + DCNT (0, 1) } Name (_PRS, ResourceTemplate () @@ -481,12 +481,12 @@ Device(SIO1) { Method (_DIS, 0, NotSerialized) { - DCNT (1, Zero) + DCNT (1, 0) } Method (_CRS, 0, NotSerialized) { - Return (DCRS (1, Zero)) + Return (DCRS (1, 0)) } Method (_SRS, 1, NotSerialized) diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index 3d85af6c3c..0795d541c2 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -179,7 +179,7 @@ Device(SIO) { /* PM: Switch to D0 by setting IPD low */ Method (_PS0) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - IPD = Zero + IPD = 0 EXIT_CONFIG_MODE () } @@ -233,14 +233,14 @@ Device(SIO) { /* Enable power saving mode */ Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - FDPW = Zero + FDPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (0) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -343,25 +343,25 @@ Device(SIO) { Sleep(0x64) If (SIFR) { FD1 = 1 } - ACT1 = Zero + ACT1 = 0 ACT2 = 1 SELE = 1 Sleep(0x64) If (SIFR) { FD2 = 1 } - ACT2 = Zero + ACT2 = 0 ACT3 = 1 SELE = 2 Sleep(0x64) If (SIFR) { FD3 = 1 } - ACT3 = Zero + ACT3 = 0 ACT4 = 1 SELE = 3 Sleep(0x64) If (SIFR) { FD4 = 1 } - ACT4 = Zero - SELE = Zero + ACT4 = 0 + SELE = 0 Return (FDE) } @@ -453,13 +453,13 @@ Device(SIO) { } Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - PRPW = Zero + PRPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (1) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -631,14 +631,14 @@ Device(SIO) { } Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - UAPW = Zero + UAPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (2) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -757,14 +757,14 @@ Device(SIO) { } Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - UBPW = Zero + UBPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (3) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -883,14 +883,14 @@ Device(SIO) { } Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - UBPW = Zero + UBPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (3) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -994,7 +994,7 @@ Device(SIO) { Method (_DIS) { ENTER_CONFIG_MODE (6) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -1085,7 +1085,7 @@ Device(SIO) { Method (_DIS) { ENTER_CONFIG_MODE (5) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () Notify(PS2M, 1) } @@ -1192,7 +1192,7 @@ Device(SIO) { Method (_DIS) { ENTER_CONFIG_MODE (5) - IRQ1 = Zero + IRQ1 = 0 EXIT_CONFIG_MODE () } @@ -1414,7 +1414,7 @@ Device(SIO) { Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - HWPW = Zero + HWPW = 0 EXIT_CONFIG_MODE () } |