commit | 2d2e1dd29962ce0e6bc2c35fe804d919bf3e7f68 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Thu Aug 09 15:38:45 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 09 11:08:20 2018 -0700 |
tree | 6c9adedf60fc3f56f608d7ea4de4ecb67134091a | |
parent | f8236a0835597b166a9f0bab38b9b31bd932ce98 [diff] |
net: dsa: mv88e6xxx: Cache the port cmode The ports CMODE indicates the type of link between the MAC and the PHY. It is used often in the SERDES code. Rather than read it each time, cache its value. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>