diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-12-11 21:46:31 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-12-11 21:46:31 +0000 |
commit | 9fce41951eaa0fa2115c90acd9ea303c7966e20d (patch) | |
tree | a1145b61a4b06844569cdb3c1d42da4bb1d14b8d /package/broadcom-diag/src | |
parent | 7632ea844e96ca13ec1fd8f811cc5ebcff7640a8 (diff) | |
download | upstream-9fce41951eaa0fa2115c90acd9ea303c7966e20d.tar.gz upstream-9fce41951eaa0fa2115c90acd9ea303c7966e20d.tar.bz2 upstream-9fce41951eaa0fa2115c90acd9ea303c7966e20d.zip |
Add Trendware TEW-411BRplus (#1038)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5764 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-diag/src')
-rw-r--r-- | package/broadcom-diag/src/diag.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index b0def22e46..bb25d57581 100644 --- a/package/broadcom-diag/src/diag.c +++ b/package/broadcom-diag/src/diag.c @@ -91,6 +91,9 @@ enum { /* Belkin */ BELKIN_UNKNOWN, + + /* Trendware */ + TEW411BRPP, }; static struct platform_t __initdata platforms[] = { @@ -416,6 +419,18 @@ static struct platform_t __initdata platforms[] = { { .name = "connected", .gpio = 1 << 0, .polarity = NORMAL }, }, }, + /* Trendware */ + [TEW411BRPP] = { + .name = "Trendware TEW411BRP+", + .buttons = { + { /* No usable buttons */ }, + }, + .leds = { + { .name = "power", .gpio = 1 << 7, .polarity = NORMAL }, + { .name = "wlan", .gpio = 1 << 1, .polarity = NORMAL }, + { .name = "bridge", .gpio = 1 << 6, .polarity = NORMAL }, + }, + }, }; static struct platform_t __init *platform_detect(void) @@ -509,6 +524,10 @@ static struct platform_t __init *platform_detect(void) return &platforms[WR850GV2V3]; } + if (!strcmp(boardnum, "44")) { /* Trendware TEW-411BRP+ */ + return &platforms[TEW411BRPP]; + } + /* not found */ return NULL; } |