public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: FabF <Fabian.Frederick@skynet.be>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>
Subject: [PATCH 2.6.6-mm2] i8042 debug broken
Date: Fri, 14 May 2004 13:09:51 +0200	[thread overview]
Message-ID: <1084532991.8303.2.camel@bluerhyme.real3> (raw)

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]

Hi,

	i8042 handle_data debug was broken -trying to display unknown
irq-.Here's a quick fix.

Regards,
FabF

[-- Attachment #2: i80421.diff --]
[-- Type: text/x-patch, Size: 929 bytes --]

diff -Naur orig/drivers/input/serio/i8042.c edited/drivers/input/serio/i8042.c
--- orig/drivers/input/serio/i8042.c	2004-05-14 12:40:49.000000000 +0200
+++ edited/drivers/input/serio/i8042.c	2004-05-14 12:56:48.000000000 +0200
@@ -420,16 +420,16 @@
 				data = 0xfe;
 			} else dfl = 0;
 
-			dbg("%02x <- i8042 (interrupt, aux%d, %d%s%s)",
-				data, (str >> 6), irq,
+			dbg("%02x <- i8042 (interrupt, aux%d, %s%s)",
+				data, (str >> 6), 
 				dfl & SERIO_PARITY ? ", bad parity" : "",
 				dfl & SERIO_TIMEOUT ? ", timeout" : "");
 
 			serio_interrupt(i8042_mux_port + ((str >> 6) & 3), data, dfl, NULL);
 		} else {
 
-			dbg("%02x <- i8042 (interrupt, %s, %d%s%s)",
-				data, (str & I8042_STR_AUXDATA) ? "aux" : "kbd", irq,
+			dbg("%02x <- i8042 (interrupt, %s, %s%s)",
+				data, (str & I8042_STR_AUXDATA) ? "aux" : "kbd",
 				dfl & SERIO_PARITY ? ", bad parity" : "",
 				dfl & SERIO_TIMEOUT ? ", timeout" : "");
 

             reply	other threads:[~2004-05-16  8:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-14 11:09 FabF [this message]
2004-05-29  8:12 ` [PATCH 2.6.6-mm2] i8042 debug broken Vojtech Pavlik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1084532991.8303.2.camel@bluerhyme.real3 \
    --to=fabian.frederick@skynet.be \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox