mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-28 19:33:38 +08:00
Merge pull request #69 from gagachang/master
Update path to kernel v5.x
This commit is contained in:
commit
bd8342bc14
|
@ -24,13 +24,13 @@ char kbledstatus = 0;
|
||||||
/* Function my_timer_func blinks the keyboard LEDs periodically by invoking
|
/* Function my_timer_func blinks the keyboard LEDs periodically by invoking
|
||||||
* command KDSETLED of ioctl() on the keyboard driver. To learn more on virtual
|
* command KDSETLED of ioctl() on the keyboard driver. To learn more on virtual
|
||||||
* terminal ioctl operations, please see file:
|
* terminal ioctl operations, please see file:
|
||||||
* drivers/char/vt_ioctl.c, function vt_ioctl().
|
* drivers/tty/vt/vt_ioctl.c, function vt_ioctl().
|
||||||
*
|
*
|
||||||
* The argument to KDSETLED is alternatively set to 7 (thus causing the led
|
* The argument to KDSETLED is alternatively set to 7 (thus causing the led
|
||||||
* mode to be set to LED_SHOW_IOCTL, and all the leds are lit) and to 0xFF
|
* mode to be set to LED_SHOW_IOCTL, and all the leds are lit) and to 0xFF
|
||||||
* (any value above 7 switches back the led mode to LED_SHOW_FLAGS, thus
|
* (any value above 7 switches back the led mode to LED_SHOW_FLAGS, thus
|
||||||
* the LEDs reflect the actual keyboard status). To learn more on this,
|
* the LEDs reflect the actual keyboard status). To learn more on this,
|
||||||
* please see file: drivers/char/keyboard.c, function setledstate().
|
* please see file: drivers/tty/vt/keyboard.c, function setledstate().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void my_timer_func(unsigned long ptr)
|
static void my_timer_func(unsigned long ptr)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user