I like the general idea, but I don't think it should be fixed by
maintaining yet another file. What you (seem to) really want is a
config(1) extension like:
# Fabricate wildcarded instance for any driver capable of attaching
# at "pci" attribute (using the proper attachment of course).
any pci
This should be fairly easy to implement and the 'no foo' feature gives
you a way to avoid borken drivers. Rationale for this approach is that
config(1) already knows about all drivers/attachments/attributes via
files.* lists (included normally via std.${arch}), so we might just as
well make use of that instead of doing the work manually.
What do you think?
-- Jachym