Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
parisc
include
asm
kbdleds.h
Go to the documentation of this file.
1
#ifndef _ASM_PARISC_KBDLEDS_H
2
#define _ASM_PARISC_KBDLEDS_H
3
4
/*
5
* On HIL keyboards of PARISC machines there is no NumLock key and
6
* everyone expects the keypad to be used for numbers. That's why
7
* we can safely turn on the NUMLOCK bit.
8
*/
9
10
static
inline
int
kbd_defleds(
void
)
11
{
12
#if defined(CONFIG_KEYBOARD_HIL) || defined(CONFIG_KEYBOARD_HIL_OLD)
13
return
1 <<
VC_NUMLOCK
;
14
#else
15
return
0;
16
#endif
17
}
18
19
#endif
/* _ASM_PARISC_KBDLEDS_H */
Generated on Thu Jan 10 2013 13:12:49 for Linux Kernel by
1.8.2