HomeFreeBSD

cgem: rework hardware quirk detection

Description

cgem: rework hardware quirk detection

Rather than doing these checks based on the detected hardware variant, allow
quirks to be specified as a set of flags for each compatible string.
This simplifies adding support for new compatible hardware.

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, 12:57 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
rG86fa80f320dc: rack: Remove unused variable.
Branches
Unknown
Tags
Unknown