aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-12-20 14:25:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-12-20 14:25:45 +0000
commitf12a8e1a9f0ef7ffdc1f2301c4a0fd7f0f2924ed (patch)
tree23b1b15751c761073d5c428627e062f08b602332 /target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c
parentd2bb86beb5ce9ab69e834abe11a5383e5c3d11cf (diff)
downloadmaster-187ad058-f12a8e1a9f0ef7ffdc1f2301c4a0fd7f0f2924ed.tar.gz
master-187ad058-f12a8e1a9f0ef7ffdc1f2301c4a0fd7f0f2924ed.tar.bz2
master-187ad058-f12a8e1a9f0ef7ffdc1f2301c4a0fd7f0f2924ed.zip
ar8216: rework/fix AR8337 MAC swap handling
In r45970 the MAC swap handling was made opt-in, however some boards have been forgotten during the conversion. Since the reference design uses this MAC swapping, and pretty much all known boards using this chip seem to do so too, enabling the swapping is a more reasonable default than leaving it disabled. Change the code to still allow boards to opt-out of this. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47956 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c
index 6a90c6ecb3..88022e7533 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c
@@ -186,7 +186,6 @@ static void __init wlr8100_010_setup(void)
wlr8100_ar8327_pad0_cfg.rxclk_delay_en = true;
wlr8100_ar8327_pad0_cfg.txclk_delay_sel = AR8327_CLK_DELAY_SEL1;
wlr8100_ar8327_pad0_cfg.rxclk_delay_sel = AR8327_CLK_DELAY_SEL2;
- wlr8100_ar8327_pad0_cfg.mac06_exchange_en = true;
/* GMAC6 of the AR8337 switch is connected to GMAC1 via SGMII */
wlr8100_ar8327_pad6_cfg.mode = AR8327_PAD_MAC_SGMII;