Page MenuHomeFreeBSD

fwget: improve the pci base script
ClosedPublic

Authored by bz on May 11 2023, 8:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 12 2024, 7:38 PM
Unknown Object (File)
Jan 14 2024, 9:30 AM
Unknown Object (File)
Dec 20 2023, 1:26 AM
Unknown Object (File)
Sep 5 2023, 7:46 PM
Unknown Object (File)
Jun 21 2023, 2:45 PM
Unknown Object (File)
Jun 15 2023, 11:15 PM
Unknown Object (File)
May 20 2023, 11:17 AM
Unknown Object (File)
May 18 2023, 9:54 PM
Subscribers

Details

Summary

When matching "class" only match the class byte and not subclass and
programming interface.
Extend the list of supported classes by network, old, and misc (for no
better names on the latter two).
Extend the list of known vendors for various WiFi NICs.
Add a "pci_fixup_class" as some wireless cards have unexpected PCI
classes set. In case we cannot find a matching file for the original
try to see if a "fixed up" version exists. This allows us to avoid
duplicate matching files for the same vendor/driver but different
chipsets.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.May 11 2023, 8:45 PM

I am really not too keen on adding the "pci_fixup_class" bit but the alternative is splattering semi-empty files including another file for silly silicon.
This also remains one of the concerns I raised on the original review. It feels like something needs to change to avoid adding hacks early on...

This revision is now accepted and ready to land.May 12 2023, 5:10 AM
This revision was automatically updated to reflect the committed changes.