[OpenWrt-Devel] AR8334 switch support
Christian Mehlis
christian at m3hlis.de
Wed Apr 29 05:26:00 EDT 2015
Am 28.04.2015 um 22:10 schrieb Heiner Kallweit:
> It was easier than I thought, here comes the related patch.
>
> Known limitations:
> 1. The patch supports configuration of this bit for platform-data-configured
> platforms only. DT-based platforms would need a similar extension.
> 2. For now it's for WPJ344 only. Every other AR8334-based device would need the same
> extension to the platform data.
>
> Rgds, Heiner
Hi Heiner,
this explicit way to talk to the driver is working!
Thank you for your effort!
Tested-By: Christian Mehlis <christian at m3hlis.de>
##########################################################
Perhaps you know the answer to my last problem with this hardware too:
On plug/unplug I get those events:
[ 25.120000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is up
[ 37.130000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is down
but the linux network stack is keeping the interface UP.
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 3'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 2'
I have never had this behaviour on other platforms...do you think the
compex-344 specific initialization is done wrong?
#########################################################
Best
Christian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list