From 05cda59dbf3714c6195669958ab381a771816a25 Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Sun, 26 Mar 2006 22:23:57 +0000 Subject: [PATCH] optimized debug output git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16886 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/bus_managers/ps2/ps2_dev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/add-ons/kernel/bus_managers/ps2/ps2_dev.c b/src/add-ons/kernel/bus_managers/ps2/ps2_dev.c index 18ce7d4577..7e489f1e63 100644 --- a/src/add-ons/kernel/bus_managers/ps2/ps2_dev.c +++ b/src/add-ons/kernel/bus_managers/ps2/ps2_dev.c @@ -1,5 +1,5 @@ /* - * Copyright 2005 Haiku, Inc. + * Copyright 2005-2006 Haiku, Inc. * Distributed under the terms of the MIT License. * * PS/2 hid device driver @@ -95,7 +95,8 @@ ps2_dev_handle_int(ps2_dev *dev, uint8 data) if ((flags & (PS2_FLAG_ACK | PS2_FLAG_NACK)) == 0) { int cnt = 1; if ((flags & PS2_FLAG_GETID) && (data == 0 || data == 3 || data == 4)) { - dprintf("ps2_dev_handle_int stupid mouse!\n"); + // workaround for broken mice that don't ack the "get id" command + dprintf("ps2_dev_handle_int: mouse didn't ack the 'get id' command\n"); atomic_or(&dev->flags, PS2_FLAG_ACK); if (dev->result_buf_cnt) { dev->result_buf[dev->result_buf_idx] = data;