Re: [OpenWrt-Devel] WRT54g / b43 / mac802.11 BREAKTHROUGH

2012-08-25 Thread Hauke Mehrtens
On 08/22/2012 11:19 PM, Larry Finger wrote: On 08/22/2012 04:05 PM, Hauke Mehrtens wrote: On 08/22/2012 08:45 PM, Larry Finger wrote: On 08/22/2012 11:21 AM, Hauke Mehrtens wrote: On 07/18/2012 01:56 PM, Bastian Bittorf wrote: hi devs! yesterday we had a breaktrough debugging b43 in our

[OpenWrt-Devel] ag71xx: making the link state drop

2012-08-25 Thread Mark Mentovai
Is there a way to make the link state drop on an ag71xx interface, so that it appears to whatever equipment is connected to the port that the cable has been disconnected? I've got a WNDR3700-family device and I need to make it appear to the equipment connected to its eth1 interface that the

Re: [OpenWrt-Devel] [PATCH v2] Keep /etc/nginx/ on sysupgrade

2012-08-25 Thread Mark Mentovai
John Crispin wrote: not merging any new stuff and/or updates atm ... -- https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016411.html is there a specific reason, such as a security fix or is it just a feature update ? No security fixes here, just bug fixes. It's OK to hold

[OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-25 Thread Tobias Diedrich
Patches in this patch series: 1/5: ramips-esw-indent.patch Minor indentation cleanup 2/5: ramips-esw-swconfig.patch Add swconfig support to ramips_esw.c 3/5: ramips-esw-uci-defaults.patch Add support to uci network defaults 4/5: ramips-esw-cleanup.patch Keep vlan unconfigured by default and

[OpenWrt-Devel] [PATCH 1/5] ramips: ramips_esw.c indentation cleanup

2012-08-25 Thread Tobias Diedrich
Minor indentation cleanup. Prepare for the main swconfig patch by cleaning up indentation a bit. Signed-off-by: Tobias Diedrich ranma+open...@tdiedrich.de Index: openwrt-ralink-swconfig/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c

[OpenWrt-Devel] [PATCH 2/5] ramips: Add swconfig support to ramips_esw.c

2012-08-25 Thread Tobias Diedrich
Add swconfig support to ramips_esw.c This patch adds swconfig support for ramips_esw: Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external rtl8366rb on internal port 5). I've made sure that in the enable_vlan=0 case it behaves like a dumb switch, so external switches should work fine

[OpenWrt-Devel] [PATCH 3/5] ramips: Add switch setup to uci network defaults

2012-08-25 Thread Tobias Diedrich
Add switch setup to uci network defaults. The 'lan' attribute is used to decide into which vlan to put the port. Currently 'disable' is never set, but the intention is to use this for devices like the 8devices Carambola, which only has two ports hooked up to the SoC. Signed-off-by: Tobias

[OpenWrt-Devel] [PATCH 4/5] ramips: Minor ramips_esw.c cleanup

2012-08-25 Thread Tobias Diedrich
Minor ramips_esw.c cleanup Stop handling VLAN setup in the kernel. Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for WL-351 and add some extra comments. Signed-off-by: Tobias Diedrich ranma+open...@tdiedrich.de Index:

[OpenWrt-Devel] [PATCH 5/5] ramips: Rename POC registers

2012-08-25 Thread Tobias Diedrich
Rename POC registers. The current code uses POC1-POC3. The datasheet uses: POC1: Port Control 0 POC1: Port Control 1 POC2: Port Control 2 So the first POC1 is a typo that should have been POC0, rename the registers to POC0-POC2 accordingly. Signed-off-by: Tobias Diedrich

[OpenWrt-Devel] [PATCH] swconfig: Be more userfriendly and show available switches.

2012-08-25 Thread Tobias Diedrich
Be more userfriendly and show available switches. Show available switches in addition to the commandline when called with no arguments or if the supplied switch device could not be found. Signed-off-by: Tobias Diedrich ranma+open...@tdiedrich.de Index:

[OpenWrt-Devel] [PATCH] [packages] [gdb] gdbserver package dependency fix

2012-08-25 Thread shazz
Description : In the current trunk, gdbserver is not building anymore (with EGLIBC 2.15 selected) due to a missing dependency: Package gdbserver is missing dependencies for the following libraries: libthread_db.so.1 In order to fix it, the system shared lib libthread_db.so.1 is copied from the

[OpenWrt-Devel] [PATCH 1/2] swconfig: Add generic support for port speed/link advertisement control

2012-08-25 Thread Tobias Diedrich
Generic support for port speed/link advertisement control. This add generic support for port speed/link advertisement control to swconfig, similar to how the link attribute is handled. I kept it deliberately simple, the main goals are to be able to limit the maximum speed and set

[OpenWrt-Devel] [PATCH 2/2] rtl8366: Support setting port speed/link advertisement

2012-08-25 Thread Tobias Diedrich
Support setting port speed/link advertisement for RTL8366. This implements port speed control for RTL8366RB/RTL8366S. Tested on RTL8366RB, works fine except for trying to force speed:1000 with auto negotation disabled (in which case the link will stay down in my tests, but I couldn't try forcing