NetBSD/sys/arch/prep/pci
drochner 46289e1fef Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
2004-08-30 15:05:15 +00:00
..
gten.c pass string length (= boundary info) to pci_devinfo so that we do not run over 2004-04-23 21:13:05 +00:00
pchb.c pass string length (= boundary info) to pci_devinfo so that we do not run over 2004-04-23 21:13:05 +00:00
pci_machdep.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
pcib.c Phase out the use of a string as first "attach args" member to control 2004-08-30 15:05:15 +00:00
prep_pciconf_direct.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
prep_pciconf_indirect.c __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00