projects
/
openwrt
/
staging
/
thess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af6e77
)
fix gpio button key code, match button-hotplug code
author
Raphaël Huck
<rhk@cksum.org>
Thu, 29 Apr 2010 12:51:02 +0000
(12:51 +0000)
committer
Raphaël Huck
<rhk@cksum.org>
Thu, 29 Apr 2010 12:51:02 +0000
(12:51 +0000)
SVN-Revision: 21253
target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch
patch
|
blob
|
history
target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
patch
|
blob
|
history
diff --git
a/target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
b/target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
index 71d8e4741fe2dc07540c781086212e5495b5db06..7b8501e9e4a3e285f38e2c00d84065620a92741e 100644
(file)
--- a/
target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
+++ b/
target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
@@
-19,7
+19,7
@@
+ .gpio = 32,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-36,7
+36,7
@@
+ .gpio = 36,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
diff --git
a/target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch
b/target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch
index 10a7fd921246da8014d0427239ae412e2096b9fe..7b3f9ff5a97b1c4a5fbcd9478d58dcd6ec3e862c 100644
(file)
--- a/
target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch
+++ b/
target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch
@@
-56,7
+56,7
@@
+ .gpio = 37,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
diff --git
a/target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
b/target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
index 6e58b5f726a4259f333796cbab6d6218e3a45960..57ce7fc8d90f21ff88badb239b97ee8b2eee4c0a 100644
(file)
--- a/
target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
+++ b/
target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
@@
-123,7
+123,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-209,7
+209,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-293,7
+293,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-374,7
+374,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-453,7
+453,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
diff --git
a/target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch
b/target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch
index 292e0a7cc94aa5bce8ebe06d60d6cb348b941690..02b4149ddd2bdeead899606f79b98ddc5ee1a3cc 100644
(file)
--- a/
target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch
+++ b/
target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch
@@
-19,7
+19,7
@@
+ .gpio = 32,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-36,7
+36,7
@@
+ .gpio = 36,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
diff --git
a/target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch
b/target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch
index 7795f99efd14b660044059d8573bcdd10ef82696..8e53a60e4b30fabbf2eaafbd6cba0f8fb8caf309 100644
(file)
--- a/
target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch
+++ b/
target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch
@@
-56,7
+56,7
@@
+ .gpio = 37,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
diff --git
a/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
b/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
index 6e58b5f726a4259f333796cbab6d6218e3a45960..57ce7fc8d90f21ff88badb239b97ee8b2eee4c0a 100644
(file)
--- a/
target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
+++ b/
target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
@@
-123,7
+123,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-209,7
+209,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-293,7
+293,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-374,7
+374,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },
@@
-453,7
+453,7
@@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_RESTART
,
+ .threshold = 3,
+ },
+ },