Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
3d925dcc
Commit
3d925dcc
authored
Jun 09, 2003
by
Helge Deller
Committed by
Vojtech Pavlik
Jun 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: Turn on the NumLock ON by default on PARISC HP-HIL machines.
parent
98ed8ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
drivers/char/keyboard.c
drivers/char/keyboard.c
+5
-3
No files found.
drivers/char/keyboard.c
View file @
3d925dcc
...
@@ -52,11 +52,13 @@ extern void ctrl_alt_del(void);
...
@@ -52,11 +52,13 @@ extern void ctrl_alt_del(void);
/*
/*
* Some laptops take the 789uiojklm,. keys as number pad when NumLock is on.
* Some laptops take the 789uiojklm,. keys as number pad when NumLock is on.
* This seems a good reason to start with NumLock off. On PC9800 however there
* This seems a good reason to start with NumLock off. On PC9800 and HIL keyboards
* is no NumLock key and everyone expects the keypad to be used for numbers.
* of PARISC machines however there is no NumLock key and everyone expects the keypad
* to be used for numbers.
*/
*/
#ifdef CONFIG_X86_PC9800
#if defined(CONFIG_X86_PC9800) || \
defined(CONFIG_PARISC) && (defined(CONFIG_KEYBOARD_HIL) || defined(CONFIG_KEYBOARD_HIL_OLD))
#define KBD_DEFLEDS (1 << VC_NUMLOCK)
#define KBD_DEFLEDS (1 << VC_NUMLOCK)
#else
#else
#define KBD_DEFLEDS 0
#define KBD_DEFLEDS 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment