kdb
[Top] [All Lists]

RE: A bug in the former command line patch

To: "KDB (E-mail)" <kdb@xxxxxxxxxxx>
Subject: RE: A bug in the former command line patch
From: "Zhang, Sonic" <sonic.zhang@xxxxxxxxx>
Date: Fri, 6 Dec 2002 14:33:32 +0800
Sender: kdb-bounce@xxxxxxxxxxx
Hi,

        Another update for USB keyboard.

        Sonic Zhang

---------------------------------------------------

--- linux-kdb/arch/i386/kdb/kdba_io.c   Fri Dec  6 13:38:01 2002
+++ linux-kdb-cmdline/arch/i386/kdb/kdba_io.c   Fri Dec  6 13:38:22 2002
@@ -110,7 +110,6 @@
                {
                        case 0x2:
                        case 0x20: /* Shift */
-                               kdb_printf("%c", shift_map[keycode]);
                                return shift_map[keycode];
                        case 0x1:
                        case 0x10: /* Ctrl */
@@ -125,7 +124,6 @@
                        switch(keycode)
                        {
                                case 0x1C: /* Enter */
-                                       kdb_printf("\n");
                                        return 13;
 
                                case 0x3A: /* Capslock */
@@ -138,11 +136,9 @@
                                        break ;
                                default:
                                        if(!usb_lock) {
-                                               kdb_printf("%c",
plain_map[keycode]);
                                                return plain_map[keycode];
                                        }
                                        else {
-                                               kdb_printf("%c",
shift_map[keycode]);
                                                return shift_map[keycode];
                                        }
                        }

---------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>