Commit 29305260 authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

net: dsa: sja1105: enable the TTEthernet engine on SJA1110

As opposed to SJA1105 where there are parts with TTEthernet and parts
without, in SJA1110 all parts support it, but it must be enabled in the
static config. So enable it unconditionally. We use it for the tc-taprio
and tc-gate offload.
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f244e256
...@@ -673,6 +673,8 @@ static int sja1105_init_general_params(struct sja1105_private *priv) ...@@ -673,6 +673,8 @@ static int sja1105_init_general_params(struct sja1105_private *priv)
*/ */
.tpid = ETH_P_SJA1105, .tpid = ETH_P_SJA1105,
.tpid2 = ETH_P_SJA1105, .tpid2 = ETH_P_SJA1105,
/* Enable the TTEthernet engine on SJA1110 */
.tte_en = true,
}; };
struct dsa_switch *ds = priv->ds; struct dsa_switch *ds = priv->ds;
struct sja1105_table *table; struct sja1105_table *table;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment