openwrtv4/target/linux/generic/files/include/linux
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
..
platform_data kernel: adm6996: add support for ADM6996L and GPIO interface 2013-11-09 19:27:27 +00:00
ar8216_platform.h ar8216: Fix problem with AR8337 MAC swap handling 2015-06-14 17:43:50 +00:00
ath5k_platform.h generic: move ath5k_platform.h from ar71xx to generic files 2010-07-15 07:36:58 +00:00
ath9k_platform.h mac80211: update to wireless-testing 2014-05-19 2014-05-20 09:35:17 +00:00
myloader.h ar71xx: Revert "added board support for compex wpj558" 2015-02-02 10:32:04 +00:00
routerboot.h kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h 2013-12-16 10:11:00 +00:00
rt2x00_platform.h mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz 2012-11-20 07:19:09 +00:00
rtl8366.h generic: rtl836x: add hw_reset field to struct rtl8366_smi 2012-08-02 09:54:21 +00:00
rtl8367.h generic: add driver for the the RTL8367R{B,-VB} switches 2012-10-18 07:22:56 +00:00
switch.h ar8216: add 802.3az EEE info to swconfig get_link attribute 2015-01-18 00:53:59 +00:00