[OpenWrt-Devel] [PATCH] Improve 802.1x dynamic vlan support with bridge names

2014-11-28 Thread Ben Franske
From: Ben Franske In r41872 and r42787 Dynamic VLAN support was reintroduced, but the vlan_bridge parameter is not read while setting up the config, so the default is used which is undesirable for some uses. This patch should be a corrected version of http://patchwork.openwrt.org/patch/6344/

[OpenWrt-Devel] OM2P firmware upgrade with LuCI

2014-11-28 Thread Bruno Randolf
Hi! I just noted that there is an issue with the firmware upgrade via LuCI on the OM2P. The image validity check fails, because the following script in system.lua fails: local function image_supported() -- XXX: yay... return ( 0 == os.execute(

Re: [OpenWrt-Devel] [PATCH v3 1/4] kernel.mk: Refactor LINUX_KARCH affectation

2014-11-28 Thread Jonas Gorski
On Fri, Nov 28, 2014 at 7:20 PM, Maxime Ripard wrote: > Switch to a dumber implementation that will be easier to maintain in the long > run, with only if statements instead of having nested subst calls. > > Signed-off-by: Maxime Ripard > --- > include/kernel.mk | 25 + >

Re: [OpenWrt-Devel] ar8216: phy_init and bug report 18415

2014-11-28 Thread Weedy
On Nov 28, 2014 5:23 AM, "Heiner Kallweit" wrote: > Anybody with a 8216-based device who can test this? Me me me, me me. 4300 currently running trunk with 43332 reverted. I am at your service. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.o

Re: [OpenWrt-Devel] Oopses on ZyXEL NBG6716 (atheros)

2014-11-28 Thread Andre Valentin
Hi! The patch in the ticket solves the problem, but there seems to be another with IPv6 NAT. I found a way to get around the IPv6 NAT, so this is not urgent to me anymore, in the hope, that this error has also something to do with IPv6 NAT ;-) Perhaps there is a better place to report this. If

[OpenWrt-Devel] [PATCH 6/6] ar8216: factor out reg_port_stats_base parameters to ar8xxx_chip

2014-11-28 Thread Heiner Kallweit
Factor out reg_port_stats_base parameters to ar8xxx_chip. Remove related chip_is_... checks. Signed-off-by: Heiner Kallweit --- .../linux/generic/files/drivers/net/phy/ar8216.c | 27 -- .../linux/generic/files/drivers/net/phy/ar8216.h | 6 - 2 files changed, 20 inser

[OpenWrt-Devel] [PATCH 2/6] ar8216: factor out mib_func to ar8xxx_chip

2014-11-28 Thread Heiner Kallweit
Factor out mib_func to ar8xxx_chip. Remove related chip_is_... checks. Signed-off-by: Heiner Kallweit --- target/linux/generic/files/drivers/net/phy/ar8216.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/ta

[OpenWrt-Devel] [PATCH 5/6] ar8216: factor out mii_lo_first to ar8xxx_chip

2014-11-28 Thread Heiner Kallweit
Factor out mii_lo_first to ar8xxx_chip. Signed-off-by: Heiner Kallweit --- target/linux/generic/files/drivers/net/phy/ar8216.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/

[OpenWrt-Devel] [PATCH 3/6] ar8216: factor out set_mirror_regs to ar8xxx_chip

2014-11-28 Thread Heiner Kallweit
Factor out set_mirror_regs to ar8xxx_chip. Remove related chip_is_... checks. Signed-off-by: Heiner Kallweit --- .../linux/generic/files/drivers/net/phy/ar8216.c | 28 ++ 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/target/linux/generic/files/drivers/net/

[OpenWrt-Devel] [PATCH 4/6] ar8216: factor out chip-specific data structures from ar8xxx_priv

2014-11-28 Thread Heiner Kallweit
Factor out chip-specific data structures from ar8xxx_priv. Signed-off-by: Heiner Kallweit --- .../linux/generic/files/drivers/net/phy/ar8216.c | 31 +++--- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/tar

[OpenWrt-Devel] [PATCH 1/6] ar8216: factor out info whether switch should be configured at probe stage to ar8xxx_chip

2014-11-28 Thread Heiner Kallweit
Factor out info whether switch should be configured at probe stage to ar8xxx_chip. Remove related chip_is_... checks. Signed-off-by: Heiner Kallweit --- target/linux/generic/files/drivers/net/phy/ar8216.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/gene

[OpenWrt-Devel] [PATCH 0/6] ar8216: further cleanups

2014-11-28 Thread Heiner Kallweit
This patch series factors out more chip-specific differences to ar8xxx_chip. 1/6 factor out info whether switch should be configured at probe stage to ar8xxx_chip 2/6 factor out mib_func to ar8xxx_chip 3/6 factor out set_mirror_regs to ar8xxx_chip 4/6 factor out chip-specific data structures from

[OpenWrt-Devel] [PATCH v3 0/4] defconfig support for 3.18

2014-11-28 Thread Maxime Ripard
Hi, This is the third attempt to rely on the defconfigs mechanism instead of generating our own full kernel configuration file. This has been build tested, both before and after applying the first patch on all the supported targets so far. You can get a list of the various build runs, with both

[OpenWrt-Devel] [PATCH v3 3/4] kernel: Use defconfig instead of full fledged kernel configuration

2014-11-28 Thread Maxime Ripard
Rely on the Kconfig defconfig mechanism to fill all the missing options, instead of needing to set them all in the kernel configurations like what was previously done. This will allow to trim down a lot the configuration files, avoid carrying unused configuration options and preserve the developer

[OpenWrt-Devel] [PATCH v3 2/4] kernel.mk: Handle the x86_64 LINUX_KARCH case

2014-11-28 Thread Maxime Ripard
x64 is handled by the x86 architecture in Linux, add a case for it in LINUX_KARCH. Signed-off-by: Maxime Ripard --- include/kernel.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/kernel.mk b/include/kernel.mk index 97eb1f74f4f7..2d15e9ad2712 100644 --- a/include/kernel.mk +++ b/

[OpenWrt-Devel] [PATCH v3 1/4] kernel.mk: Refactor LINUX_KARCH affectation

2014-11-28 Thread Maxime Ripard
Switch to a dumber implementation that will be easier to maintain in the long run, with only if statements instead of having nested subst calls. Signed-off-by: Maxime Ripard --- include/kernel.mk | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/inclu

Re: [OpenWrt-Devel] ar8216: question regarding ar8xxx_phy_config_aneg

2014-11-28 Thread Heiner Kallweit
On Fri, Nov 28, 2014 at 12:15 PM, Jonas Gorski wrote: > On Fri, Nov 28, 2014 at 11:06 AM, Heiner Kallweit > wrote: > > In my tests with AR8327 this callback was never called with an addr != 0. > > Seems logical to me as it's called for the PHY attached to the net device > > only. > > > > In most

[OpenWrt-Devel] [PULL RESEND] oxnas: two small fixes

2014-11-28 Thread Daniel Golle
The following changes since commit 3ecf78cea81128e20d4679f258fb596e8ae09124: kernel: 3.18: Fix patch 644 dependency chain (2014-11-28 01:29:51 +) are available in the git repository at: https://gitorious.org/openwrt-oxnas/openwrt-oxnas.git for you to fetch changes up to 627377b2fdf665c

Re: [OpenWrt-Devel] ar8216: question regarding ar8xxx_phy_config_aneg

2014-11-28 Thread Jonas Gorski
On Fri, Nov 28, 2014 at 11:06 AM, Heiner Kallweit wrote: > In my tests with AR8327 this callback was never called with an addr != 0. > Seems logical to me as it's called for the PHY attached to the net device > only. > > In most cases this is addr 0, just for AR8316 with port4_phy being set this >

[OpenWrt-Devel] ar8216: phy_init and bug report 18415

2014-11-28 Thread Heiner Kallweit
This bug report relates to a device using the AR8216 switch chip and a trunk version where the additional phy reset in 3.14 was still enabled. Seems like there was an issue with autoneg. This is not fully clear to me as after the first phy reset in the kernel phy code we do the hw_init in the driv

[OpenWrt-Devel] ar8216: question regarding ar8xxx_phy_config_aneg

2014-11-28 Thread Heiner Kallweit
In my tests with AR8327 this callback was never called with an addr != 0. Seems logical to me as it's called for the PHY attached to the net device only. In most cases this is addr 0, just for AR8316 with port4_phy being set this could be 4. This leads to two questions: 1. The current version of