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)
Oct 2 2024, 12:37 PM
Unknown Object (File)
Sep 30 2024, 3:23 PM
Unknown Object (File)
Sep 27 2024, 6:33 PM
Unknown Object (File)
Sep 26 2024, 8:59 AM
Unknown Object (File)
Sep 24 2024, 4:08 PM
Unknown Object (File)
Sep 23 2024, 1:08 PM
Unknown Object (File)
Sep 22 2024, 7:16 PM
Unknown Object (File)
Sep 22 2024, 4:31 AM
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.