mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +00:00
- Revert the last change, because it really doesn't help.
- Don't detect mouse on COM2 by default. svn path=/trunk/; revision=8264
This commit is contained in:
parent
ecfd9db944
commit
bb25722258
1 changed files with 1 additions and 11 deletions
|
@ -11,12 +11,6 @@
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <ddk/ntddmou.h>
|
#include <ddk/ntddmou.h>
|
||||||
|
|
||||||
/*
|
|
||||||
* HAL:KdComPortInUse used to prevent detecting mouse on port
|
|
||||||
* that is occupied by kernel debugger.
|
|
||||||
*/
|
|
||||||
ULONG DECLSPEC_IMPORT KdComPortInUse;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compile time options
|
* Compile time options
|
||||||
*/
|
*/
|
||||||
|
@ -26,7 +20,7 @@ ULONG DECLSPEC_IMPORT KdComPortInUse;
|
||||||
/* Check for mouse on COM1? */
|
/* Check for mouse on COM1? */
|
||||||
#define SERMOUSE_COM1_SUPPORT
|
#define SERMOUSE_COM1_SUPPORT
|
||||||
/* Check for mouse on COM2? */
|
/* Check for mouse on COM2? */
|
||||||
#define SERMOUSE_COM2_SUPPORT
|
/* #define SERMOUSE_COM2_SUPPORT */
|
||||||
/* Create \??\Mouse* symlink for device? */
|
/* Create \??\Mouse* symlink for device? */
|
||||||
#define SERMOUSE_MOUSESYMLINK_SUPPORT
|
#define SERMOUSE_MOUSESYMLINK_SUPPORT
|
||||||
|
|
||||||
|
@ -574,10 +568,6 @@ InitializeMouse(ULONG Port, ULONG Irq, PDRIVER_OBJECT DriverObject)
|
||||||
KAFFINITY Affinity;
|
KAFFINITY Affinity;
|
||||||
ULONG MouseType;
|
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 */
|
/* Try to detect mouse on specified port */
|
||||||
MouseType = DetectMicrosoftMouse(Port);
|
MouseType = DetectMicrosoftMouse(Port);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue