Subject: Re: Does pnpbios still work?
To: Matthias Scheler <tron@zhadum.de>
From: Gary Thorpe <gathorpe79@yahoo.com>
List: current-users
Date: 01/09/2005 21:09:15
 --- Matthias Scheler <tron@zhadum.de> wrote: 
> 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
> 

So how do you change 'acpi_active' at run time? It would have to be
done before the kernel starts booting, right? 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca