aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-08-01 19:33:59 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-08-01 19:33:59 +0000
commit24880dbaa09b119533aea41acf15befa50e09975 (patch)
treedbd2a738a3c4b48083373e3a59eb34dacb2f3f83 /package/kernel
parent3a9a8aeb57551b2f3207e1038b321482ebd24415 (diff)
downloadupstream-24880dbaa09b119533aea41acf15befa50e09975.tar.gz
upstream-24880dbaa09b119533aea41acf15befa50e09975.tar.bz2
upstream-24880dbaa09b119533aea41acf15befa50e09975.zip
brcm47xx: improve detection of Linksys WRTSL54GS
This closes #13319 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37647 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/broadcom-diag/src/diag.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/kernel/broadcom-diag/src/diag.c b/package/kernel/broadcom-diag/src/diag.c
index c87ca97458..f5c834617f 100644
--- a/package/kernel/broadcom-diag/src/diag.c
+++ b/package/kernel/broadcom-diag/src/diag.c
@@ -1145,9 +1145,6 @@ static struct platform_t __init *platform_detect_legacy(void)
if (!strcmp(boardtype, "0x0101") && !strcmp(getvar("boot_ver"), "v3.6"))
return &platforms[WRT54G3G];
- if (!strcmp(getvar("et1phyaddr"),"5") && !strcmp(getvar("et1mdcport"), "1"))
- return &platforms[WRTSL54GS];
-
/* default to WRT54G */
return &platforms[WRT54G];
}
@@ -1347,6 +1344,8 @@ static struct platform_t __init *platform_detect(void)
return &platforms[WRT610N];
case BCM47XX_BOARD_LINKSYS_WRT610NV2:
return &platforms[WRT610NV2];
+ case BCM47XX_BOARD_LINKSYS_WRTSL54GS:
+ return &platforms[WRTSL54GS];
case BCM47XX_BOARD_MOTOROLA_WE800G:
return &platforms[WE800G];
case BCM47XX_BOARD_MOTOROLA_WR850GP: