From af405dcb0538de0aa490f37f117a88d3fa0cc949 Mon Sep 17 00:00:00 2001 From: Robert Dickenson Date: Sun, 10 Nov 2002 13:30:32 +0000 Subject: [PATCH] display debug message on boot. svn path=/trunk/; revision=3719 --- reactos/drivers/input/psaux/psaux.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/reactos/drivers/input/psaux/psaux.c b/reactos/drivers/input/psaux/psaux.c index a3e7cfc148c..33938016ae0 100644 --- a/reactos/drivers/input/psaux/psaux.c +++ b/reactos/drivers/input/psaux/psaux.c @@ -158,10 +158,12 @@ DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) UNICODE_STRING SymlinkName; PDEVICE_EXTENSION DeviceExtension; - if(detect_ps2_port() == TRUE) - { - } else + if (detect_ps2_port() == TRUE) { + DbgPrint("PS2 Port Driver version 0.0.1\n"); + } else { + DbgPrint("PS2 port not found.\n"); return STATUS_UNSUCCESSFUL; + } DriverObject->MajorFunction[IRP_MJ_CREATE] = PS2MouseDispatch; DriverObject->MajorFunction[IRP_MJ_CLOSE] = PS2MouseDispatch; -- 2.17.1