diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-09-16 18:14:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-09-16 18:14:29 +0000 |
commit | 43a802864a41b1a4112132cb29efd1eb544c631f (patch) | |
tree | debc7874e7a152e0c4b9656b102aac21c98868f0 /target/linux/brcm-2.4/base-files/etc | |
parent | b75288df95f64cb85530541d23365f9f270ef758 (diff) | |
download | mtk-20170518-43a802864a41b1a4112132cb29efd1eb544c631f.zip mtk-20170518-43a802864a41b1a4112132cb29efd1eb544c631f.tar.gz mtk-20170518-43a802864a41b1a4112132cb29efd1eb544c631f.tar.bz2 |
Fix Buffalo WBR-G54 and WBR-B11 support (updated patch)
Signed-off-by: Roger Hardiman <roger@rjh.org.uk>
SVN-Revision: 17598
Diffstat (limited to 'target/linux/brcm-2.4/base-files/etc')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig index a53209e..09c7c28 100755 --- a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig +++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig @@ -113,6 +113,13 @@ start() { } } } + # Buffalo WBR-B11 and Buffalo WBR-G54 + if (nvram["boardtype"] == "bcm94710ap") { + c["vlan0ports"] = "0 1 2 3 4 5u" + c["vlan1ports"] = "" + c["lan_ifname"] = "eth0" + c["wan_ifname"] = "eth1" + } if (nvram["boardtype"] == "0x478") { # generic broadcom 4785 processor with 5397 switch? c["vlan0ports"] = "1 2 3 4 8*" |