A few days ago I submitted a patch to get OpenWRT working on WBR-G54 and
WBR-B11.

I've tied up the comments in the code a little. Some were not needed so
it saves a few bytes in the flash image.

Signed-off-by: Roger Hardiman <[email protected]>


Index: target/linux/brcm-2.4/base-files/etc/init.d/netconfig
===================================================================
--- target/linux/brcm-2.4/base-files/etc/init.d/netconfig       (revision
17590)
+++ target/linux/brcm-2.4/base-files/etc/init.d/netconfig       (working copy)
@@ -113,6 +113,13 @@
                                }
                        }
                }
+               # 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*"


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to