diff options
-rw-r--r-- | src/drivers/pc80/pc/ps2_controller.asl | 1 | ||||
-rw-r--r-- | src/drivers/pc80/pc/ps2_keyboard.asl | 29 | ||||
-rw-r--r-- | src/drivers/pc80/pc/ps2_mouse.asl | 24 |
3 files changed, 29 insertions, 25 deletions
diff --git a/src/drivers/pc80/pc/ps2_controller.asl b/src/drivers/pc80/pc/ps2_controller.asl index 28e337073e..d781973247 100644 --- a/src/drivers/pc80/pc/ps2_controller.asl +++ b/src/drivers/pc80/pc/ps2_controller.asl @@ -1,3 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0-only */ + #include "ps2_keyboard.asl" #include "ps2_mouse.asl" diff --git a/src/drivers/pc80/pc/ps2_keyboard.asl b/src/drivers/pc80/pc/ps2_keyboard.asl index b3d5efada3..5bbc7932b2 100644 --- a/src/drivers/pc80/pc/ps2_keyboard.asl +++ b/src/drivers/pc80/pc/ps2_keyboard.asl @@ -1,18 +1,19 @@ /* SPDX-License-Identifier: GPL-2.0-only */ - Device (PS2K) // Keyboard - { - Name(_HID, EISAID(CONFIG_PS2K_EISAID)) - Name(_CID, EISAID("PNP030B")) - Name(_CRS, ResourceTemplate() - { - IO (Decode16, 0x60, 0x60, 0x01, 0x01) - IO (Decode16, 0x64, 0x64, 0x01, 0x01) - IRQ (Edge, ActiveHigh, Exclusive) { 0x01 } // IRQ 1 - }) +Device (PS2K) // PS/2 Keyboard +{ + Name (_HID, EISAID (CONFIG_PS2K_EISAID)) + Name (_CID, EISAID ("PNP030B")) + + Name (_CRS, ResourceTemplate() + { + IO (Decode16, 0x60, 0x60, 0x01, 0x01) + IO (Decode16, 0x64, 0x64, 0x01, 0x01) + IRQ (Edge, ActiveHigh, Exclusive) { 0x01 } // IRQ 1 + }) - Method (_STA, 0) - { - Return (0xf) - } + Method (_STA, 0) + { + Return (0x0F) } +} diff --git a/src/drivers/pc80/pc/ps2_mouse.asl b/src/drivers/pc80/pc/ps2_mouse.asl index f9ac4159b2..04d160522f 100644 --- a/src/drivers/pc80/pc/ps2_mouse.asl +++ b/src/drivers/pc80/pc/ps2_mouse.asl @@ -1,15 +1,17 @@ /* SPDX-License-Identifier: GPL-2.0-only */ - Device (PS2M) // Mouse + +Device (PS2M) // PS/2 Mouse +{ + Name (_HID, EISAID (CONFIG_PS2M_EISAID)) + Name (_CID, EISAID ("PNP0F13")) + + Name (_CRS, ResourceTemplate() { - Name(_HID, EISAID(CONFIG_PS2M_EISAID)) - Name(_CID, EISAID("PNP0F13")) - Name(_CRS, ResourceTemplate() - { - IRQ (Edge, ActiveHigh, Exclusive) { 0x0c } // IRQ 12 - }) + IRQ (Edge, ActiveHigh, Exclusive) { 0x0C } // IRQ 12 + }) - Method(_STA, 0) - { - Return (0xf) - } + Method (_STA, 0) + { + Return (0x0F) } +} |