1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

Add back Sitecom WL-105b support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10142 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2008-01-08 14:27:48 +00:00
parent 7fdc9f28c1
commit 209f76b1df
3 changed files with 25 additions and 0 deletions

View File

@@ -115,6 +115,9 @@ enum {
DIR130,
DIR330,
DWL3150,
/* Sitecom */
WL105B,
};
static void __init bcm4780_init(void) {
@@ -618,6 +621,17 @@ static struct platform_t __initdata platforms[] = {
{ .name = "status", .gpio = 1 << 1},
},
},
/* Double check */
[WL105B] = {
.name = "Sitecom WL-105b",
.buttons = {
{ .name = "reset", .gpio = 1 << 10},
},
.leds = {
{ .name = "wlan", .gpio = 1 << 4},
{ .name = "power", .gpio = 1 << 3},
},
},
};
static struct platform_t __init *platform_detect(void)
@@ -730,6 +744,9 @@ static struct platform_t __init *platform_detect(void)
(simple_strtoul(getvar("et1phyaddr"), NULL, 0) == 10))
return &platforms[WL300G];
}
/* Sitecom WL-105b */
if (!strncmp(boardnum, "2", 1) && simple_strtoul(getvar("GemtekPmonVer"), NULL, 0) == 1)
return &platforms[WL105B];
/* unknown asus stuff, probably bcm4702 */
if (!strncmp(boardnum, "asusX", 5))