aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-08-04 16:11:44 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-08-04 16:11:44 +0000
commit7b831cd3fe1c872b09b227619169b2d751ec0d7a (patch)
treecd63520cc74cf232656f404f41e6f59209c8d246 /target
parentb5cc22dfe5fb5d899f09c42e21d1807384341957 (diff)
downloadupstream-7b831cd3fe1c872b09b227619169b2d751ec0d7a.tar.gz
upstream-7b831cd3fe1c872b09b227619169b2d751ec0d7a.tar.bz2
upstream-7b831cd3fe1c872b09b227619169b2d751ec0d7a.zip
fix RB-133/133C led definitions
SVN-Revision: 12097
Diffstat (limited to 'target')
-rw-r--r--target/linux/adm5120/files/drivers/leds/leds-adm5120.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
index 538b2009da..2eb4083147 100644
--- a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
+++ b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
@@ -27,7 +27,7 @@
#include <adm5120_info.h>
#define DRV_DESC "LED driver for the ADM5120 based boards"
-#define DRV_VERSION "0.2.0"
+#define DRV_VERSION "0.2.1"
#define NUM_LEDS_MAX 23
#define ADM5120_GPIO_xxxx 0x100 /* an unknown pin */
@@ -176,6 +176,10 @@ LED_ARRAY(rb133) {
LED_STD(ADM5120_GPIO_PIN5, "user", NULL),
LED_INV(ADM5120_GPIO_P2L1, "lan1_speed", NULL), /* untested */
LED_INV(ADM5120_GPIO_P2L0, "lan1_lnkact", NULL), /* untested */
+ LED_INV(ADM5120_GPIO_P1L1, "lan2_speed", NULL), /* untested */
+ LED_INV(ADM5120_GPIO_P1L0, "lan2_lnkact", NULL), /* untested */
+ LED_INV(ADM5120_GPIO_P0L1, "lan3_speed", NULL), /* untested */
+ LED_INV(ADM5120_GPIO_P0L0, "lan3_lnkact", NULL), /* untested */
};
LED_ARRAY(rb133c) {
@@ -183,10 +187,6 @@ LED_ARRAY(rb133c) {
LED_STD(ADM5120_GPIO_PIN5, "user", NULL),
LED_INV(ADM5120_GPIO_P2L1, "lan1_speed", NULL), /* untested */
LED_INV(ADM5120_GPIO_P2L0, "lan1_lnkact", NULL), /* untested */
- LED_INV(ADM5120_GPIO_P1L1, "lan2_speed", NULL), /* untested */
- LED_INV(ADM5120_GPIO_P1L0, "lan2_lnkact", NULL), /* untested */
- LED_INV(ADM5120_GPIO_P0L1, "lan3_speed", NULL), /* untested */
- LED_INV(ADM5120_GPIO_P0L0, "lan3_lnkact", NULL), /* untested */
};
LED_ARRAY(rb150) {