aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/vmware.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-26 16:49:49 +0200
committerMarvin Borner2021-04-26 16:49:49 +0200
commit6ab6e1d1568380f87bf0276cfac4487db553245b (patch)
treecce0fad7a4711f9d26c27d066da54eae6e0c9ca9 /kernel/drivers/vmware.c
parent6b71accbaf4be52a1e2d3a696675c5e610a4c9b3 (diff)
PS/2 mouse aah
Diffstat (limited to 'kernel/drivers/vmware.c')
-rw-r--r--kernel/drivers/vmware.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/kernel/drivers/vmware.c b/kernel/drivers/vmware.c
index 795eb79..c82042f 100644
--- a/kernel/drivers/vmware.c
+++ b/kernel/drivers/vmware.c
@@ -147,14 +147,7 @@ static res vmware_mouse_read(void *buf, u32 offset, u32 count)
CLEAR void vmware_mouse_install(u8 device)
{
- // Enable auxiliary mouse device
- ps2_write_device(device, 0xa8);
-
- // Use default settings
- ps2_write_device(device, 0xf6);
-
- // Enable mouse
- ps2_write_device(device, 0xf4);
+ ps2_mouse_enable(device);
vmware_mouse_enable();
irq_install_handler(12, vmware_mouse_handler);