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

(cherry picked from commit 66cc0c61b023a5d8ae1c05897bfaf7726be40934)

Details

Provenance
bsd_dino.skAuthored on Apr 7 2022, 12:57 PM
mhorneCommitted on May 16 2022, 1:34 PM
Reviewer
mhorne
Differential Revision
D34764: Enhance if_cgem (add SGMII connection type, rewrite errata logic, fix typo)
Parents
rG0decce4326ec: savecore: factor out info file handling
Branches
Unknown
Tags
Unknown