diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2019-08-26 23:31:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-27 21:42:16 -0700 |
commit | d3cf7d8f20b49331e198172e8c6b6ebadc72fa9c (patch) | |
tree | 6b986e53ea7ab346e998206282cb9f66b888c3e5 /drivers/net/macvlan.c | |
parent | 17deaf5cb37a365fd65aaa0e14d1a2e1a50418c7 (diff) |
net: dsa: mv88e6xxx: simplify SERDES code for Topaz and Peridot
By adding an additional serdes_get_lane implementation (for Topaz), we
can merge the implementations of other SERDES functions (powering and
IRQs). We can skip checking port numbers, since the serdes_get_lane()
methods inform if there is no lane on a port or if the lane cannot be
used for given cmode.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions