From: Chris Heath <chris@heathens.co.nz>
To: linux-kernel@vger.kernel.org
Subject: [PATCH][2.5] keyboard.c Fix SAK in raw mode
Date: Wed, 16 Apr 2003 20:42:04 -0400 [thread overview]
Message-ID: <20030416191012.0331.CHRIS@heathens.co.nz> (raw)
Trivial fix to get the SAK key working in raw and medium raw modes.
Patch is against kernel 2.5.67.
Chris
--- a/drivers/char/keyboard.c 2003-04-12 09:50:18.000000000 -0400
+++ b/drivers/char/keyboard.c 2003-04-13 20:52:42.000000000 -0400
@@ -601,7 +601,7 @@
return;
if ((kbd->kbdmode == VC_RAW ||
kbd->kbdmode == VC_MEDIUMRAW) &&
- value != K_SAK)
+ value != KVAL(K_SAK))
return; /* SAK is allowed even in raw mode */
fn_handler[value](vc, regs);
}
reply other threads:[~2003-04-17 0:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030416191012.0331.CHRIS@heathens.co.nz \
--to=chris@heathens.co.nz \
--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
all inboxes | Powered by JetHome®