HomeFreeBSD

cgem: support SGMII PHY connection mode

Description

cgem: support SGMII PHY connection mode

As the PolarFire SoC needs SGMII to connect the PHY, check the
'phy-mode' property of device tree node for ethernet and act on it
appropriately.

Add the compatible strings for the PolarFire SoC device tree.
'microchip,mpfs-mss-gem" is not officially documented but has been
observed in the available firmware for this platform, so it is included
for now.

Also, fix a typo in if_cgem_hw.h.

Reviewed by: mhorne
MFC after: 1 week
Sponsored by: Conclusive Engineering
Differential Revision: https://reviews.freebsd.org/D34764

Details

Provenance
bsd_dino.skAuthored on Apr 7 2022, 1:04 PM
mhorneCommitted on Apr 12 2022, 10:51 PM
Reviewer
mhorne
Differential Revision
D34764: Enhance if_cgem (add SGMII connection type, rewrite errata logic, fix typo)
Parents
rG66cc0c61b023: cgem: rework hardware quirk detection
Branches
Unknown
Tags
Unknown