NetBSD/sys/arch/i386/pnpbios/files.pnpbios
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

48 lines
1.4 KiB
Plaintext

# $NetBSD: files.pnpbios,v 1.15 2004/08/30 15:05:17 drochner Exp $
defflag PNPBIOSVERBOSE
device pnpbios { [index = -1] }
attach pnpbios at pnpbiosbus
file arch/i386/pnpbios/pnpbios.c pnpbios needs-flag
file arch/i386/pnpbios/pnpbioscall.S pnpbios
attach com at pnpbios with com_pnpbios
file arch/i386/pnpbios/com_pnpbios.c com_pnpbios
attach lpt at pnpbios with lpt_pnpbios
file arch/i386/pnpbios/lpt_pnpbios.c lpt_pnpbios & !ppbus
attach atppc at pnpbios with atppc_pnpbios: isadma
file arch/i386/pnpbios/atppc_pnpbios.c atppc_pnpbios
attach sb at pnpbios with sb_pnpbios
file arch/i386/pnpbios/sb_pnpbios.c sb_pnpbios
attach wss at pnpbios with wss_pnpbios
file arch/i386/pnpbios/wss_pnpbios.c wss_pnpbios
attach ym at pnpbios with ym_pnpbios
file arch/i386/pnpbios/ym_pnpbios.c ym_pnpbios
attach ess at pnpbios with ess_pnpbios
file arch/i386/pnpbios/ess_pnpbios.c ess_pnpbios
attach pciide at pnpbios with pciide_pnpbios
file arch/i386/pnpbios/pciide_pnpbios.c pciide_pnpbios needs-flag
attach lm at pnpbios with lm_pnpbios
file arch/i386/pnpbios/lm_pnpbios.c lm_pnpbios
attach pckbc at pnpbios with pckbc_pnpbios
file arch/i386/pnpbios/pckbc_pnpbios.c pckbc_pnpbios
attach fdc at pnpbios with fdc_pnpbios
file arch/i386/pnpbios/fdc_pnpbios.c fdc_pnpbios
attach npx at pnpbios with npx_pnpbios
file arch/i386/pnpbios/npx_pnpbios.c npx_pnpbios
attach joy at pnpbios with joy_pnpbios
file arch/i386/pnpbios/joy_pnpbios.c joy_pnpbios