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)
Mon, Sep 30, 3:23 PM
Unknown Object (File)
Fri, Sep 27, 6:33 PM
Unknown Object (File)
Thu, Sep 26, 8:59 AM
Unknown Object (File)
Tue, Sep 24, 4:08 PM
Unknown Object (File)
Mon, Sep 23, 1:08 PM
Unknown Object (File)
Sun, Sep 22, 7:16 PM
Unknown Object (File)
Sun, Sep 22, 4:31 AM
Unknown Object (File)
Wed, Sep 18, 1:31 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.