diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-12-05 18:33:12 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-12-07 11:17:06 -0500 |
commit | a47d08e2e397c434a661c688160f85b60a2392d5 (patch) | |
tree | df3f95ca44eb31a70385665edc6867f6c6b5ac16 /include/asm-arm | |
parent | 46156e04def20749c46efd8fc40e3527eae97b49 (diff) |
[ARM] 3984/1: ixp4xx/nslu2: Fix disk LED numbering (take 2)
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>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-ixp4xx/nslu2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-arm/arch-ixp4xx/nslu2.h b/include/asm-arm/arch-ixp4xx/nslu2.h index 4281838873ef..6b437f7c9955 100644 --- a/include/asm-arm/arch-ixp4xx/nslu2.h +++ b/include/asm-arm/arch-ixp4xx/nslu2.h | |||
@@ -76,6 +76,7 @@ | |||
76 | 76 | ||
77 | #define NSLU2_GPIO_BUZZ 4 | 77 | #define NSLU2_GPIO_BUZZ 4 |
78 | #define NSLU2_BZ_BM (1L << NSLU2_GPIO_BUZZ) | 78 | #define NSLU2_BZ_BM (1L << NSLU2_GPIO_BUZZ) |
79 | |||
79 | /* LEDs */ | 80 | /* LEDs */ |
80 | 81 | ||
81 | #define NSLU2_LED_RED NSLU2_GPIO0 | 82 | #define NSLU2_LED_RED NSLU2_GPIO0 |
@@ -84,8 +85,8 @@ | |||
84 | #define NSLU2_LED_RED_BM (1L << NSLU2_LED_RED) | 85 | #define NSLU2_LED_RED_BM (1L << NSLU2_LED_RED) |
85 | #define NSLU2_LED_GRN_BM (1L << NSLU2_LED_GRN) | 86 | #define NSLU2_LED_GRN_BM (1L << NSLU2_LED_GRN) |
86 | 87 | ||
87 | #define NSLU2_LED_DISK1 NSLU2_GPIO2 | 88 | #define NSLU2_LED_DISK1 NSLU2_GPIO3 |
88 | #define NSLU2_LED_DISK2 NSLU2_GPIO3 | 89 | #define NSLU2_LED_DISK2 NSLU2_GPIO2 |
89 | 90 | ||
90 | #define NSLU2_LED_DISK1_BM (1L << NSLU2_GPIO2) | 91 | #define NSLU2_LED_DISK1_BM (1L << NSLU2_GPIO2) |
91 | #define NSLU2_LED_DISK2_BM (1L << NSLU2_GPIO3) | 92 | #define NSLU2_LED_DISK2_BM (1L << NSLU2_GPIO3) |