summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-08-09 15:38:40 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-09 11:08:20 -0700
commita8c01c0d941d2f220a5a31ded77a67d89ddec3b0 (patch)
tree6efc4de4686199e6a701ee4a0819f6b8c68eae44 /.clang-format
parent6c422e34b1b6533af5730280835365d4b50786d3 (diff)
net: dsa: mv88e6xxx: Refactor SERDES lane code
The 6390 family has 8 SERDES lanes. What ports use these lanes depends on how ports 9 and 10 are configured. If 9 and 10 does not make use of a line, one of the lower ports can use it. Add a function to return the lane a port is using, if any, and simplify the code to power up/down the lane. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions