aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/rtl8306.c
Commit message (Collapse)AuthorAgeFilesLines
* revert: kernel: rtl8306: fix max pvid & remove port isolationJohn Crispin2014-03-301-76/+37
| | | | | | | | apparently this one was nt a good idea to merge Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: rtl8306: fix vlan support on lantiq ar9 p2601hnfxJohn Crispin2014-03-301-0/+4
| | | | | | | | | | If the CPU port is not forced up, the link, at least on this board, is lost after changes are applied. This makes sure that the link is restored. Regression tests should confirm it doesn't break other boards. Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: rtl8306: fix max pvid & remove port isolationJohn Crispin2014-03-301-37/+76
| | | | | | | | | | - hide port pvid - vlan index relation - switch initialises with vlans disabled so port isolation is not used - remove special treatment of cpu port Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: rtl8306: cosmetic changes for swconfigJohn Crispin2014-03-301-21/+26
| | | | | | | | | | | Changes to: - show the correct "enable_vlan" value under "Global attributes" - show tagged ports under "Vlan: ports" - use get_port_link method to report link status Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: rtl8306: update reset functionLuka Perkov2014-02-151-7/+2
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8306: do not overwrite registers in the phy fixup, it could mess up other ↵Felix Fietkau2011-04-021-0/+6
| | | | | | switches (fixes #8911) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] unify extended vlan id swconfig attributes.Jo-Philipp Wich2010-10-121-1/+1
| | | | | | | | AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: cleanup of kernel drivers and interfaceFelix Fietkau2010-08-041-68/+60
| | | | | | | | - add some comments to a few data structures - add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy - get rid of the switch_dev.priv pointer - using container_of() is better git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename target/linux/generic-2.6 to genericFelix Fietkau2010-06-261-0/+1058
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73