openwrtv4/target/linux/generic/files/drivers/net/phy
Felix Fietkau 4a9d726200 ar8216: Fix problem with AR8337 MAC swap handling
AR8337 supports a configuration bit to swap MAC0 and MAC6.
Currently this is set in general if an AR8337 is detected and causes
issues with devices using an AR8334 (internally an AR8337, just
less chip pins).
And it might even cause issues with AR8337-based devices with
different board designs.

Swapping the MAC's however isn't needed for AR8337 in general.
It's just needed in case of certain board designs (affected devices
seem to be based on Atheros reference board AP135/136-010).
Therefore this configuration bit should be moved to platform data.

The patch includes the needed changes to the device initialization
code of affected devices. Hopefully I didn't miss any ..

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 45970
2015-06-14 17:43:50 +00:00
..
b53 b53: fix memory out of bounds access on 64 bit targets 2015-06-10 09:21:36 +00:00
adm6996.c kernel: fix compile error inside adm6996.c 2015-02-09 12:09:17 +00:00
adm6996.h linux/generic: add MIB counters and port status to ADM6996 switch 2014-04-22 08:08:02 +00:00
ar8216.c ar8216: prefix mii_xxx functions to avoid kernel namespace pollution 2015-01-24 19:42:12 +00:00
ar8216.h ar8216: prefix mii_xxx functions to avoid kernel namespace pollution 2015-01-24 19:42:12 +00:00
ar8327.c ar8216: Fix problem with AR8337 MAC swap handling 2015-06-14 17:43:50 +00:00
ar8327.h ar8216: add swconfig attribute to display ARL table on AR8327/AR8337 2015-01-24 19:42:06 +00:00
ip17xx.c unify extended vlan id swconfig attributes. 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. 2010-10-12 20:49:35 +00:00
mvsw61xx.c mvsw61xx: track and set per-VLAN port state in STU 2015-01-11 17:20:16 +00:00
mvsw61xx.h mvsw61xx: track and set per-VLAN port state in STU 2015-01-11 17:20:16 +00:00
mvswitch.c generic: mvswitch: add detach callback 2013-02-07 15:18:34 +00:00
mvswitch.h
psb6970.c unify extended vlan id swconfig attributes. 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. 2010-10-12 20:49:35 +00:00
rtl8306.c revert: kernel: rtl8306: fix max pvid & remove port isolation 2014-03-30 10:04:55 +00:00
rtl8366_smi.c strict_strtoul is obsolete, use kstrtoul instead 2013-07-27 09:23:18 +00:00
rtl8366_smi.h linux: generic: rtl836*: fix compilation with !CONFIG_OF 2012-12-15 13:32:02 +00:00
rtl8366rb.c generic: add port mirroring/monitoring capability to rtl8366rb switch 2013-06-04 13:25:52 +00:00
rtl8366s.c fix rtl8366s OF binding 2013-04-12 18:56:05 +00:00
rtl8367.c rtl8367: add support for configuring the VLAN FID 2013-08-12 17:25:25 +00:00
rtl8367b.c generic: rtl8367: add compatible string with vendor prefix 2013-04-06 17:19:31 +00:00
swconfig.c swconfig: fix build with linux 4.0 2015-03-06 07:57:03 +00:00
swconfig_leds.c ar71xx: swconfig: use the local helper to set LED brightness on link down 2014-01-26 16:46:21 +00:00