Subject: Re: Does pnpbios still work?
To: None <current-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 01/08/2005 23:15:35
In article <x7zmzk2xsk.fsf@bonnet.wsrcc.com>,
	"Wolfgang S. Rupprecht" <wolfgang+gnus20050107T231038@dailyplanet.dontspam.wsrcc.com> writes:
> Will the APM or PNPBIOS probes only be deactivated if the ACPI probes
> succeed or is a compile time thing?

It is decided at run time. From "src/sys/arch/i386/i386/mainbus.c":

#if NPNPBIOS > 0
#if NACPI > 0
        if (acpi_active == 0)
#endif
        if (pnpbios_probe()) {
                mba.mba_paa.paa_busname = "pnpbios";
                mba.mba_paa.paa_ic = &x86_isa_chipset;
                config_found(self, &mba.mba_paa, mainbus_print);
        }
#endif

If it were a compile thing it would be stupid to allow compiling it both
if APM or PNPBIOS could never be used anyway.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/