diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-06-22 16:57:55 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-08-03 21:44:48 +0100 |
commit | 837c48ee695b45906556257d6b69b699b797feb7 (patch) | |
tree | 7ed04d658e3aac4090e12e3cad140f4335237ecf /net | |
parent | 59e40a1ff7a66baf7c788f6c68fae0365cd04e6f (diff) |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions