]> git.pld-linux.org Git - packages/kernel.git/blame - kernel-panaview_kbd.patch
run depmod before geninitrd and rc-boot
[packages/kernel.git] / kernel-panaview_kbd.patch
CommitLineData
007ca7d4 1--- linux/drivers/char/pc_keyb.c.original Sat Mar 17 22:15:33 2001
2+++ linux/drivers/char/pc_keyb.c Sat Mar 17 22:27:05 2001
3@@ -220,6 +220,13 @@
4 #define E0_MSLW 125
5 #define E0_MSRW 126
6 #define E0_MSTM 127
7+/*
8+ * Panaview keyboard has e0 5e (Power), e0 5f (Sleep) and
9+ * e0 63 (Wake Up) button.
10+ */
11+#define E0_PWR 113
12+#define E0_SLP 114
13+#define E0_WKU 115
14
15 static unsigned char e0_keys[128] = {
16 0, 0, 0, 0, 0, 0, 0, 0, /* 0x00-0x07 */
17@@ -233,8 +240,8 @@
18 E0_DO, E0_F17, 0, 0, 0, 0, E0_BREAK, E0_HOME, /* 0x40-0x47 */
19 E0_UP, E0_PGUP, 0, E0_LEFT, E0_OK, E0_RIGHT, E0_KPMINPLUS, E0_END,/* 0x48-0x4f */
20 E0_DOWN, E0_PGDN, E0_INS, E0_DEL, 0, 0, 0, 0, /* 0x50-0x57 */
21- 0, 0, 0, E0_MSLW, E0_MSRW, E0_MSTM, 0, 0, /* 0x58-0x5f */
22- 0, 0, 0, 0, 0, 0, 0, 0, /* 0x60-0x67 */
23+ 0, 0, 0, E0_MSLW, E0_MSRW, E0_MSTM, E0_PWR, E0_SLP, /* 0x58-0x5f */
24+ 0, 0, 0, E0_WKU, 0, 0, 0, 0, /* 0x60-0x67 */
25 0, 0, 0, 0, 0, 0, 0, E0_MACRO, /* 0x68-0x6f */
26 0, 0, 0, 0, 0, 0, 0, 0, /* 0x70-0x77 */
27 0, 0, 0, 0, 0, 0, 0, 0 /* 0x78-0x7f */
28
This page took 0.036078 seconds and 4 git commands to generate.