1 Submitted as http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=3984/1
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.
7 Thanks to Gordon Farquharson for reporting this.
9 Signed-off-by: Rod Whitby <rod@whitby.id.au>
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
20 #define NSLU2_GPIO_BUZZ 4
21 #define NSLU2_BZ_BM (1L << NSLU2_GPIO_BUZZ)
25 #define NSLU2_LED_RED NSLU2_GPIO0
27 #define NSLU2_LED_RED_BM (1L << NSLU2_LED_RED)
28 #define NSLU2_LED_GRN_BM (1L << NSLU2_LED_GRN)
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
35 #define NSLU2_LED_DISK1_BM (1L << NSLU2_GPIO2)
36 #define NSLU2_LED_DISK2_BM (1L << NSLU2_GPIO3)