diff options
| author | Théo Lebrun <theo.lebrun@bootlin.com> | 2025-10-23 18:22:54 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-10-28 15:17:54 +0100 |
| commit | 3f7e51cd5fbf4d970b14956ee9464515bb40666f (patch) | |
| tree | 3c4e80dc0c01bd399203c423fbafc73ea0d647aa /tools/net/ynl/pyynl/lib/ynl.py | |
| parent | 7a3d209145d17b4e0d24a51864fb2def1f5ecf0b (diff) | |
net: macb: rename bp->sgmii_phy field to bp->phy
The bp->sgmii_phy field is initialised at probe by init_reset_optional()
if bp->phy_interface == PHY_INTERFACE_MODE_SGMII. It gets used by:
- zynqmp_config: "cdns,zynqmp-gem" or "xlnx,zynqmp-gem" compatibles.
- mpfs_config: "microchip,mpfs-macb" compatible.
- versal_config: "xlnx,versal-gem" compatible.
Make name more generic as EyeQ5 requires the PHY in SGMII & RGMII cases.
Drop "for ZynqMP SGMII mode" comment that is already a lie, as it gets
used on Microchip platforms as well. And soon it won't be SGMII-only.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://patch.msgid.link/20251023-macb-eyeq5-v3-4-af509422c204@bootlin.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/net/ynl/pyynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions
