Author: hpoussin Date: Sun Mar 18 00:25:00 2007 New Revision: 26126
URL: http://svn.reactos.org/svn/reactos?rev=26126&view=rev Log: Disable PS/2 auxiliary port detection, which is too unreliable.
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/i... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c Sun Mar 18 00:25:00 2007 @@ -1890,6 +1890,12 @@ static BOOLEAN DetectPS2AuxPort(VOID) { +#if 1 + /* Current detection is too unreliable. Just do as if + * the PS/2 aux port is always present + */ + return TRUE; +#else ULONG Loops; UCHAR Status;
@@ -1920,6 +1926,7 @@ READ_PORT_UCHAR((PUCHAR)CONTROLLER_REGISTER_DATA);
return (Status & CONTROLLER_STATUS_MOUSE_OUTPUT_BUFFER_FULL); +#endif }