Re: [OpenWrt-Devel] [PATCH] mvsw6171: note support for 88E6172 switches

2014-12-22 Thread Nikita Nazarenko
This patch is a dirty modification of mv6171 driver and must be merged with it in future. mv6171 and 6172 are similar enough to be merged in one driver. Significant differences: * struct vlan_state in struct mv6172_state contains additional field port_state which contain STU port information.

Re: [OpenWrt-Devel] [PATCH] mvsw6171: note support for 88E6172 switches

2014-12-22 Thread Nikita Nazarenko
Hello Claudio. 6172 not so similar to 6171 as it may seem. 6172 more similar to 6352/6240/6176 - they described in one functional specification datasheet. For example - any record in VTU _require_ correct STU record. 6171 driver doesn't care about stu. Without it 802.1q vlans doesn't work.

[OpenWrt-Devel] [PATCH] mvsw6171: note support for 88E6172 switches

2014-12-19 Thread Claudio Leite
The '6171 and '6172 are similar enough to work without any changes to the code. Signed-off-by: Claudio Leite --- target/linux/generic/files/drivers/net/phy/mvsw6171.h| 2 +- target/linux/generic/patches-3.14/733-phy_mvsw6171.patch | 2 +- target/linux/generic/patches-3.18/733-phy_mvsw6171.pa