diff options
author | John Crispin <john@phrozen.org> | 2017-07-05 07:52:36 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-07-06 06:37:03 +0200 |
commit | fddc78bc116bc043fb5cd92dbc45cfd054c21af8 (patch) | |
tree | bb82a2b964986ddaec87414ab6b7b19b43ebc8b8 /target/linux/ramips/patches-4.4/0519-gsw_mt7621.patch | |
parent | 05d6e92594c507dcd1f4be6c1bcb2282fe1abe1f (diff) | |
download | upstream-fddc78bc116bc043fb5cd92dbc45cfd054c21af8.tar.gz upstream-fddc78bc116bc043fb5cd92dbc45cfd054c21af8.tar.bz2 upstream-fddc78bc116bc043fb5cd92dbc45cfd054c21af8.zip |
ramips: bump to v4.9
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ramips/patches-4.4/0519-gsw_mt7621.patch')
-rw-r--r-- | target/linux/ramips/patches-4.4/0519-gsw_mt7621.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/ramips/patches-4.4/0519-gsw_mt7621.patch b/target/linux/ramips/patches-4.4/0519-gsw_mt7621.patch deleted file mode 100644 index e146de235c..0000000000 --- a/target/linux/ramips/patches-4.4/0519-gsw_mt7621.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/drivers/net/ethernet/mediatek/mt7530.c -+++ b/drivers/net/ethernet/mediatek/mt7530.c -@@ -547,6 +547,7 @@ mt7530_apply_config(struct switch_dev *d - u8 etags = priv->vlan_entries[i].etags; - u32 val; - -+#ifndef CONFIG_SOC_MT7621 - /* vid of vlan */ - val = mt7530_r32(priv, REG_ESW_VLAN_VTIM(i)); - if (i % 2 == 0) { -@@ -557,7 +558,7 @@ mt7530_apply_config(struct switch_dev *d - val |= (vid << 12); - } - mt7530_w32(priv, REG_ESW_VLAN_VTIM(i), val); -- -+#endif - /* vlan port membership */ - if (member) - mt7530_w32(priv, REG_ESW_VLAN_VAWD1, REG_ESW_VLAN_VAWD1_IVL_MAC | -@@ -577,7 +578,11 @@ mt7530_apply_config(struct switch_dev *d - mt7530_w32(priv, REG_ESW_VLAN_VAWD2, val); - - /* write to vlan table */ -+#ifdef CONFIG_SOC_MT7621 -+ mt7530_vtcr(priv, 1, vid); -+#else - mt7530_vtcr(priv, 1, i); -+#endif - } - - /* Port Default PVID */ |