From 928d62f33ead27d435e937748d26c6614085f8f6 Mon Sep 17 00:00:00 2001 From: rwhitby Date: Mon, 18 Dec 2006 01:57:04 +0000 Subject: IXP4xx patches for NSLU2 and NAS100D git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5830 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ixp4xx-2.6/patches/102-nslu2_led_swap.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 target/linux/ixp4xx-2.6/patches/102-nslu2_led_swap.patch (limited to 'target/linux/ixp4xx-2.6/patches/102-nslu2_led_swap.patch') diff --git a/target/linux/ixp4xx-2.6/patches/102-nslu2_led_swap.patch b/target/linux/ixp4xx-2.6/patches/102-nslu2_led_swap.patch new file mode 100644 index 000000000..f6ea98bbd --- /dev/null +++ b/target/linux/ixp4xx-2.6/patches/102-nslu2_led_swap.patch @@ -0,0 +1,36 @@ +Submitted as http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=3984/1 + +This patch fixes an error in the numbering of the disk LEDs on the +Linksys NSLU2. The error crept in because the physical location +of the LEDs has the Disk 2 LED *above* the Disk 1 LED. + +Thanks to Gordon Farquharson for reporting this. + +Signed-off-by: Rod Whitby + +PATCH FOLLOWS +KernelVersion: 2.6.19 + +Index: linux-2.6.19/include/asm-arm/arch-ixp4xx/nslu2.h +=================================================================== +--- linux-2.6.19.orig/include/asm-arm/arch-ixp4xx/nslu2.h ++++ linux-2.6.19/include/asm-arm/arch-ixp4xx/nslu2.h +@@ -76,6 +76,7 @@ + + #define NSLU2_GPIO_BUZZ 4 + #define NSLU2_BZ_BM (1L << NSLU2_GPIO_BUZZ) ++ + /* LEDs */ + + #define NSLU2_LED_RED NSLU2_GPIO0 +@@ -84,8 +85,8 @@ + #define NSLU2_LED_RED_BM (1L << NSLU2_LED_RED) + #define NSLU2_LED_GRN_BM (1L << NSLU2_LED_GRN) + +-#define NSLU2_LED_DISK1 NSLU2_GPIO2 +-#define NSLU2_LED_DISK2 NSLU2_GPIO3 ++#define NSLU2_LED_DISK1 NSLU2_GPIO3 ++#define NSLU2_LED_DISK2 NSLU2_GPIO2 + + #define NSLU2_LED_DISK1_BM (1L << NSLU2_GPIO2) + #define NSLU2_LED_DISK2_BM (1L << NSLU2_GPIO3) -- cgit v1.2.3