Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1397205 > unrolled thread

[PATCH net-next v2 15/21] net: dsa: mv88e6131: drop VLAN Ethertype setup

Started byVivien Didelot <vivien.didelot@savoirfairelinux.com>
First post2016-05-09 19:30 +0200
Last post2016-05-09 19:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH net-next v2 15/21] net: dsa: mv88e6131: drop VLAN Ethertype setup Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-05-09 19:30 +0200

#1397205 — [PATCH net-next v2 15/21] net: dsa: mv88e6131: drop VLAN Ethertype setup

FromVivien Didelot <vivien.didelot@savoirfairelinux.com>
Date2016-05-09 19:30 +0200
Subject[PATCH net-next v2 15/21] net: dsa: mv88e6131: drop VLAN Ethertype setup
Message-ID<rwXai-1D1-19@gated-at.bofh.it>
The 6131 switch models have a Core Tag Type register. Their setup code
is setting it to 0x8100, which is the reset default.

Drop this specific part which is correctly configured on reset anyway.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
 drivers/net/dsa/mv88e6131.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/net/dsa/mv88e6131.c b/drivers/net/dsa/mv88e6131.c
index d05fc79..1c3b245 100644
--- a/drivers/net/dsa/mv88e6131.c
+++ b/drivers/net/dsa/mv88e6131.c
@@ -65,11 +65,6 @@ static int mv88e6131_setup_global(struct dsa_switch *ds)
 	int ret;
 	u32 reg;
 
-	/* Set the VLAN ethertype to 0x8100. */
-	ret = mv88e6xxx_reg_write(ps, REG_GLOBAL, GLOBAL_CORE_TAG_TYPE, 0x8100);
-	if (ret)
-		return ret;
-
 	/* Disable ARP mirroring, and configure the upstream port as
 	 * the port to which ingress and egress monitor frames are to
 	 * be sent.
-- 
2.8.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web