Skip to content

Commit

Permalink
[ARM] 3984/1: ixp4xx/nslu2: Fix disk LED numbering (take 2)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rod Whitby authored and Russell King committed Dec 7, 2006
1 parent 46156e0 commit a47d08e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/asm-arm/arch-ixp4xx/nslu2.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@

#define NSLU2_GPIO_BUZZ 4
#define NSLU2_BZ_BM (1L << NSLU2_GPIO_BUZZ)

/* LEDs */

#define NSLU2_LED_RED NSLU2_GPIO0
Expand All @@ -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)
Expand Down

0 comments on commit a47d08e

Please sign in to comment.