Today I am trying to answer the question, "what is the smallest
set of kernel configurations to build, in order to compile all
machine-dependent PCI code and all PCI drivers at least once?"
The answer I have come up with so far is, "All GENERIC kernels for
architectures having a pci/ directory, that is, these GENERIC kernels:
% ls -d sys/arch/*/pci | sed 's/\/pci$//' | sed 's/$/\/conf\/
GENERIC/' | \
xargs ls -d
ls: sys/arch/algor/conf/GENERIC: No such file or directory
ls: sys/arch/atari/conf/GENERIC: No such file or directory
ls: sys/arch/powerpc/conf/GENERIC: No such file or directory
ls: sys/arch/sgimips/conf/GENERIC: No such file or directory
ls: sys/arch/x86/conf/GENERIC: No such file or directory
sys/arch/alpha/conf/GENERIC sys/arch/ibmnws/conf/GENERIC
sys/arch/arc/conf/GENERIC sys/arch/macppc/conf/GENERIC
sys/arch/bebox/conf/GENERIC sys/arch/mvmeppc/conf/GENERIC
sys/arch/cats/conf/GENERIC sys/arch/netwinder/conf/
GENERIC
sys/arch/cobalt/conf/GENERIC sys/arch/ofppc/conf/GENERIC
sys/arch/i386/conf/GENERIC sys/arch/prep/conf/GENERIC
sys/arch/ia64/conf/GENERIC sys/arch/sandpoint/conf/
GENERIC
Plus some subset of the kernel configuration files in
sys/arch/algor/conf/
sys/arch/atari/conf/
sys/arch/sgimips/conf/
(Which ones?)
And an unknown number of powerpc configurations: evbppc, rs6000, what
else?