[kernel] r11950 - in dists/sid/linux-2.6/debian: . patches/features/arm patches/series
Martin Michlmayr
tbm at alioth.debian.org
Sun Aug 3 06:30:14 UTC 2008
Author: tbm
Date: Sun Aug 3 06:30:13 2008
New Revision: 11950
Log:
Export the reset button of the QNAP TS-409
Added:
dists/sid/linux-2.6/debian/patches/features/arm/ts409-export-reset.patch
Modified:
dists/sid/linux-2.6/debian/changelog
dists/sid/linux-2.6/debian/patches/series/2
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog (original)
+++ dists/sid/linux-2.6/debian/changelog Sun Aug 3 06:30:13 2008
@@ -69,6 +69,7 @@
[ Martin Michlmayr ]
* METH: fix MAC address setup
+ * Export the reset button of the QNAP TS-409.
-- Bastian Blank <waldi at debian.org> Thu, 31 Jul 2008 19:45:03 +0200
Added: dists/sid/linux-2.6/debian/patches/features/arm/ts409-export-reset.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/features/arm/ts409-export-reset.patch Sun Aug 3 06:30:13 2008
@@ -0,0 +1,28 @@
+From: Martin Michlmayr <tbm at cyrius.com>
+Subject: [PATCH] Orion: Export the reset button of the QNAP TS-409
+
+The reset button on the QNAP TS-409 is available through gpio.
+
+Signed-off-by: Martin Michlmayr <tbm at cyrius.com>
+
+--- a/arch/arm/mach-orion5x/ts409-setup.c 2008-07-31 04:19:08.000000000 +0000
++++ b/arch/arm/mach-orion5x/ts409-setup.c 2008-07-31 04:21:10.000000000 +0000
+@@ -211,10 +211,17 @@
+ * Power button is attached to the PIC microcontroller
+ ****************************************************************************/
+
++#define QNAP_TS409_GPIO_KEY_RESET 14
+ #define QNAP_TS409_GPIO_KEY_MEDIA 15
+
+ static struct gpio_keys_button qnap_ts409_buttons[] = {
+ {
++ .code = KEY_RESTART,
++ .gpio = QNAP_TS409_GPIO_KEY_RESET,
++ .desc = "Reset Button",
++ .active_low = 1,
++ },
++ {
+ .code = KEY_COPY,
+ .gpio = QNAP_TS409_GPIO_KEY_MEDIA,
+ .desc = "USB Copy Button",
+
Modified: dists/sid/linux-2.6/debian/patches/series/2
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/2 (original)
+++ dists/sid/linux-2.6/debian/patches/series/2 Sun Aug 3 06:30:13 2008
@@ -1,3 +1,4 @@
- bugfix/all/x86-acpi-sleep-x61s.patch
+ bugfix/all/stable/2.6.26.1.patch
+ bugfix/mips/meth-fix_mac.patch
++ features/arm/ts409-export-reset.patch
More information about the Kernel-svn-changes
mailing list