net: dsa: sja1105: Fix bit offsets of index field from L2 lookup entries
authorVladimir Oltean <olteanv@gmail.com>
Sun, 2 Jun 2019 21:11:54 +0000 (00:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 18:49:19 +0000 (11:49 -0700)
commitafad12a0f0ba63f906a02902fa1d29d6d3b32491
treea86b9cd1ca45f20aaf2a804db0493524fcf1ad59
parent31b31120d7b0ceede56971f8541d46af4d148e5b
net: dsa: sja1105: Fix bit offsets of index field from L2 lookup entries

This was inadvertently copied from the SJA1105 E/T structure and not
tested.  Cross-checking with the P/Q/R/S documentation (UM11040) makes
it immediately obvious what the correct bit offsets for this field are.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_dynamic_config.c