aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/vmware.c
diff options
context:
space:
mode:
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);