From 99de2ada96a4bdddaf4f01591b80e8a7addb8a0a Mon Sep 17 00:00:00 2001 From: Goldfish64 Date: Thu, 16 Dec 2021 17:30:58 +0300 Subject: [PATCH] OvmfPkg/SioBusDxe: Add PS/2 mouse support SioBusDxe by default does not create a device for PS/2 mice, this patch adds that device. --- OvmfPkg/SioBusDxe/SioService.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/OvmfPkg/SioBusDxe/SioService.c b/OvmfPkg/SioBusDxe/SioService.c index 66c5a08cf9..b22bf4f14e 100644 --- a/OvmfPkg/SioBusDxe/SioService.c +++ b/OvmfPkg/SioBusDxe/SioService.c @@ -72,8 +72,13 @@ SIO_DEVICE_INFO mDevicesInfo[] = { { EISA_PNP_ID (0x303), 0, - { (ACPI_SMALL_RESOURCE_HEADER *)&mPs2KeyboardDeviceResources } - } // PS/2 Keyboard Controller + { (ACPI_SMALL_RESOURCE_HEADER *) &mPs2KeyboardDeviceResources } + }, // PS/2 Keyboard Controller + { + EISA_PNP_ID(0xF13), + 0, + { (ACPI_SMALL_RESOURCE_HEADER *) &mPs2KeyboardDeviceResources } + } // PS/2 Mouse Controller }; //