Fix the irq request
[openwrt.git] / target / linux / ixp4xx-2.6 / patches / 102-nslu2_led_swap.patch
1 Submitted as http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=3984/1
2
3 This patch fixes an error in the numbering of the disk LEDs on the
4 Linksys NSLU2. The error crept in because the physical location
5 of the LEDs has the Disk 2 LED *above* the Disk 1 LED.
6
7 Thanks to Gordon Farquharson for reporting this.
8
9 Signed-off-by: Rod Whitby <rod@whitby.id.au>
10
11 PATCH FOLLOWS
12 KernelVersion: 2.6.19
13
14 Index: linux-2.6.19/include/asm-arm/arch-ixp4xx/nslu2.h
15 ===================================================================
16 --- linux-2.6.19.orig/include/asm-arm/arch-ixp4xx/nslu2.h
17 +++ linux-2.6.19/include/asm-arm/arch-ixp4xx/nslu2.h
18 @@ -76,6 +76,7 @@
19
20 #define NSLU2_GPIO_BUZZ 4
21 #define NSLU2_BZ_BM (1L << NSLU2_GPIO_BUZZ)
22 +
23 /* LEDs */
24
25 #define NSLU2_LED_RED NSLU2_GPIO0
26 @@ -84,8 +85,8 @@
27 #define NSLU2_LED_RED_BM (1L << NSLU2_LED_RED)
28 #define NSLU2_LED_GRN_BM (1L << NSLU2_LED_GRN)
29
30 -#define NSLU2_LED_DISK1 NSLU2_GPIO2
31 -#define NSLU2_LED_DISK2 NSLU2_GPIO3
32 +#define NSLU2_LED_DISK1 NSLU2_GPIO3
33 +#define NSLU2_LED_DISK2 NSLU2_GPIO2
34
35 #define NSLU2_LED_DISK1_BM (1L << NSLU2_GPIO2)
36 #define NSLU2_LED_DISK2_BM (1L << NSLU2_GPIO3)
This page took 0.047591 seconds and 5 git commands to generate.