]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 3984/1: ixp4xx/nslu2: Fix disk LED numbering (take 2)
authorRod Whitby <rod@whitby.id.au>
Tue, 5 Dec 2006 23:33:12 +0000 (00:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Dec 2006 16:17:06 +0000 (16:17 +0000)
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 <rod@whitby.id.au>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ixp4xx/nslu2.h

index 4281838873eff89156e49a0c0e4c7500fc9505f1..6b437f7c99550e8e56ba5f575ac3814a7efb9c8e 100644 (file)
@@ -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)