On 10 March 2011 19:09, Layne M. Edwards <ledwa...@astrumtech.net> wrote: > Also, the switch configuration (swconfig) is not working as expected (when > using r24328). The VLANs for LAN (eth0.1) and WAN (eth0.2) are not > configured properly by default (i.e. WAN port is on one of the LAN ports). > Modifying the swconfig in '/etc/config/network' seems to have no effect. Is > this a bug or has swconfig not been implemented yet for ramips? > > I haven't had time to review the ramips eth/esw drivers (ramips.c, > ramips_esw.c) to identify the problem yet. I was hoping one of the ramips > driver developers (John Crispin <blogic> and/or Gabor Juhos <juhosg>) could > take a look at this and provide some insight. Thanks for your contributions > to this. >
There is no support for swlib in ramips_esw driver - it should be rewritten to support it. And this is real problem because, e.g. Belkin board I have has external switch, and there is no other way (at least with existing code) except modifying ramips_esw and partially braking ramips target to make it work correctly. See my patches from this thread: https://forum.openwrt.org/viewtopic.php?id=21998 for example. Hopefully me or Juhos or someone else will have time to rewrite ramips_esw to support swlib. I see no other right way to do it. But maybe I'm blind.. :) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel