diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-07-21 14:04:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-22 01:46:51 +0300 |
commit | 7137e18f6f889a67046d5004e1690a32d7d2108d (patch) | |
tree | 714c34515e11dd4fd8637811a65e88cf2d7a2734 /scripts/Makefile.kcsan | |
parent | b7ad14c2fe2d4b2abee491e3adfa3d0123aa2d8c (diff) | |
download | linux-7137e18f6f889a67046d5004e1690a32d7d2108d.tar.xz |
net: phylink: add struct phylink_pcs
Add a way for MAC PCS to have private data while keeping independence
from struct phylink_config, which is used for the MAC itself. We need
this independence as we will have stand-alone code for PCS that is
independent of the MAC. Introduce struct phylink_pcs, which is
designed to be embedded in a driver private data structure.
This structure does not include a mdio_device as there are PCS
implementations such as the Marvell DSA and network drivers where this
is not necessary.
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Makefile.kcsan')
0 files changed, 0 insertions, 0 deletions