mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
add diag and switch support for brcm47xx-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6562 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -539,8 +539,11 @@ static struct platform_t __init *platform_detect(void)
|
||||
boardnum = getvar("boardnum");
|
||||
boardtype = getvar("boardtype");
|
||||
|
||||
if (strncmp(getvar("model_no"), "WL700",5) == 0) {
|
||||
return &platforms[WL700GE]; }
|
||||
if (strcmp(getvar("nvram_type"), "cfe") == 0)
|
||||
return &platforms[WGT634U];
|
||||
|
||||
if (strncmp(getvar("model_no"), "WL700",5) == 0)
|
||||
return &platforms[WL700GE];
|
||||
|
||||
if (strncmp(getvar("pmon_ver"), "CFE", 3) == 0) {
|
||||
/* CFE based - newer hardware */
|
||||
|
||||
Reference in New Issue
Block a user