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-06-29 01:19:02 +0100 |
commit | 97aa15ca856fab2a89eab4f5cd385d82eceb3639 (patch) | |
tree | abbd59676833277a66fdaf99cda29436b1dab3dd /drivers/net/phy/mscc/mscc_main.c | |
parent | a7e4766500b71d059c0bfc59e6540f6d3b8c3833 (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.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/phy/mscc/mscc_main.c')
0 files changed, 0 insertions, 0 deletions