diff options
Diffstat (limited to 'src/superio')
-rw-r--r-- | src/superio/acpi/pnp.asl | 4 | ||||
-rw-r--r-- | src/superio/winbond/w83627hf/acpi/superio.asl | 22 |
2 files changed, 13 insertions, 13 deletions
diff --git a/src/superio/acpi/pnp.asl b/src/superio/acpi/pnp.asl index f403a669b1..51fdb4fbb8 100644 --- a/src/superio/acpi/pnp.asl +++ b/src/superio/acpi/pnp.asl @@ -108,11 +108,11 @@ #define PNP_READ_IRQ(IRQ_FROM, RESOURCE_TEMPLATE, IRQ_TAG) \ CreateWordField (RESOURCE_TEMPLATE, IRQ_TAG._INT, IRQ_TAG##W)\ - ShiftLeft (One, IRQ_FROM, IRQ_TAG##W) + IRQ_TAG##W = One << IRQ_FROM #define PNP_READ_DMA(DMA_FROM, RESOURCE_TEMPLATE, DMA_TAG) \ CreateByteField (RESOURCE_TEMPLATE, DMA_TAG._DMA, DMA_TAG##W)\ - ShiftLeft (One, DMA_FROM, DMA_TAG##W) + DMA_TAG##W = One << DMA_FROM #define PNP_WRITE_IO(IO_TO, RESOURCE, IO_TAG) \ CreateWordField (RESOURCE, IO_TAG._MIN, IO_TAG##I)\ diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index d2b7264153..37f5cfa3e8 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -304,7 +304,7 @@ Device(SIO) { Local1 = IO1H Local2 = IO1L EXIT_CONFIG_MODE () - ShiftLeft(Local1, 8, Local1) + Local1 <<= 8 Or(Local1, Local2, Local1) If (!Local0) { Return (FDE) @@ -503,7 +503,7 @@ Device(SIO) { } /* Calculate IRQ bitmap */ Local0 = One - ShiftLeft (Local0, Local5, IRQW) + IRQW = Local0 << Local5 /* Return resource template */ Return (CRS) } @@ -660,7 +660,7 @@ Device(SIO) { CreateWordField (CRS, IRQX._INT, IRQW) Local3 = One - ShiftLeft (Local3, Local2, IRQW) + IRQW = Local3 << Local2 Return (CRS) } @@ -785,7 +785,7 @@ Device(SIO) { CreateWordField (CRS, IRQX._INT, IRQW) Local3 = One - ShiftLeft (Local3, Local2, IRQW) + IRQW = Local3 << Local2 Return (CRS) } @@ -910,7 +910,7 @@ Device(SIO) { CreateWordField (CRS, IRQX._INT, IRQW) Local3 = One - ShiftLeft (Local3, Local2, IRQW) + IRQW = Local3 << Local2 Return (CRS) } @@ -1013,7 +1013,7 @@ Device(SIO) { CreateWordField (CRS, IRQX._INT, IRQW) Local3 = One - ShiftLeft (Local3, Local2, IRQW) + IRQW = Local3 << Local2 Return (CRS) } @@ -1114,7 +1114,7 @@ Device(SIO) { CreateWordField (CRS, IRQX._INT, IRQW) Local5 = One - ShiftLeft (Local5, Local4, IRQW) + IRQW = Local5 << Local4 Return (CRS) } @@ -1199,7 +1199,7 @@ Device(SIO) { CreateWordField (CRS, IRQX._INT, IRQW) Local5 = One - ShiftLeft (Local5, Local4, IRQW) + IRQW = Local5 << Local4 Return (CRS) } @@ -1278,7 +1278,7 @@ Device(SIO) { If (Local2) { CreateWordField (CRS, IRQX._INT, IRQW) Local3 = One - ShiftLeft (Local3, Local2, IRQW) + IRQW = Local3 << Local2 } Return (CRS) @@ -1333,7 +1333,7 @@ Device(SIO) { If (Local2) { CreateWordField (CRS, IRQX._INT, IRQW) Local3 = One - ShiftLeft (Local3, Local2, IRQW) + IRQW = Local3 << Local2 } Return (CRS) @@ -1432,7 +1432,7 @@ Device(SIO) { If (Local2) { CreateWordField (CRS, IRQX._INT, IRQW) Local3 = One - ShiftLeft (Local3, Local2, IRQW) + IRQW = Local3 << Local2 } Return (CRS) } |