From bb25722258397a9942477212d9f00ff06f913da8 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Thu, 19 Feb 2004 17:54:05 +0000 Subject: [PATCH] - Revert the last change, because it really doesn't help. - Don't detect mouse on COM2 by default. svn path=/trunk/; revision=8264 --- reactos/drivers/input/sermouse/sermouse.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/reactos/drivers/input/sermouse/sermouse.c b/reactos/drivers/input/sermouse/sermouse.c index f1b64e189d5..b67fa14b8d2 100644 --- a/reactos/drivers/input/sermouse/sermouse.c +++ b/reactos/drivers/input/sermouse/sermouse.c @@ -11,12 +11,6 @@ #include #include -/* - * HAL:KdComPortInUse used to prevent detecting mouse on port - * that is occupied by kernel debugger. - */ -ULONG DECLSPEC_IMPORT KdComPortInUse; - /* * Compile time options */ @@ -26,7 +20,7 @@ ULONG DECLSPEC_IMPORT KdComPortInUse; /* Check for mouse on COM1? */ #define SERMOUSE_COM1_SUPPORT /* Check for mouse on COM2? */ -#define SERMOUSE_COM2_SUPPORT +/* #define SERMOUSE_COM2_SUPPORT */ /* Create \??\Mouse* symlink for device? */ #define SERMOUSE_MOUSESYMLINK_SUPPORT @@ -574,10 +568,6 @@ InitializeMouse(ULONG Port, ULONG Irq, PDRIVER_OBJECT DriverObject) KAFFINITY Affinity; ULONG MouseType; - /* Don't detect mouse on port that is occupied by kernel debugger */ - if (KdComPortInUse == Port) - return FALSE; - /* Try to detect mouse on specified port */ MouseType = DetectMicrosoftMouse(Port);