summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/pc80/pc/Kconfig12
-rw-r--r--src/drivers/pc80/pc/ps2_controller.asl5
2 files changed, 15 insertions, 2 deletions
diff --git a/src/drivers/pc80/pc/Kconfig b/src/drivers/pc80/pc/Kconfig
index 68138575ba..455ac2bee1 100644
--- a/src/drivers/pc80/pc/Kconfig
+++ b/src/drivers/pc80/pc/Kconfig
@@ -19,3 +19,15 @@ config DRIVERS_PS2_KEYBOARD
Otherwise say Y.
endif
+
+config PS2K_EISAID
+ string
+ default "PNP0303"
+ help
+ Mainboards can override the default to match vendor drivers and quirks.
+
+config PS2M_EISAID
+ string
+ default "PNP0F13"
+ help
+ Mainboards can override the default to match vendor drivers and quirks.
diff --git a/src/drivers/pc80/pc/ps2_controller.asl b/src/drivers/pc80/pc/ps2_controller.asl
index 210a687681..d37ea2e7fd 100644
--- a/src/drivers/pc80/pc/ps2_controller.asl
+++ b/src/drivers/pc80/pc/ps2_controller.asl
@@ -2,7 +2,7 @@
/* This file is part of the coreboot project. */
Device (PS2K) // Keyboard
{
- Name(_HID, EISAID("PNP0303"))
+ Name(_HID, EISAID(CONFIG_PS2K_EISAID))
Name(_CID, EISAID("PNP030B"))
Name(_CRS, ResourceTemplate()
@@ -20,7 +20,8 @@
Device (PS2M) // Mouse
{
- Name(_HID, EISAID("PNP0F13"))
+ Name(_HID, EISAID(CONFIG_PS2M_EISAID))
+ Name(_CID, EISAID("PNP0F13"))
Name(_CRS, ResourceTemplate()
{
IRQ (Edge, ActiveHigh, Exclusive) { 0x0c } // IRQ 12