Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 09:48:24 -0300 (EST)
From:      Daniel Capo Sobral <dcs@tcoip.com.br>
To:        msmith@freebsd.org (Mike Smith)
Cc:        yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA), dcs@freebsd.org, current@freebsd.org
Subject:   Re: HEADS UP: ACPI CHANGES AFFECTING MOST -CURRENT USERS
Message-ID:  <200109041248.f84CmOa21358@mail.tcoip.com.br>
In-Reply-To: <200109032330.f83NU9n02241@mass.dis.org> from "Mike Smith" at Sep 03, 2001 04:30:09 PM

next in thread | previous in thread | raw e-mail | index | archive | help
Unheedful of thy elder's warnings, Mike Smith wrote:
> 
> > Then, shouldn't we remove the PnP BIOS driver (pnpbios) from the
> > kernel and make it a module, so that the boot loader will load either
> > the ACPI module or the PnP BIOS module?
> 
> Yes, we probably should.
> 
> I'd like to see the boot-conf code learn how to deal with foo_load
> variables set in the environment in the same fashion it deals with
> them as it reads /boot/loader.conf; this would result in the acpi and
> pnpbios modules being loaded at the correct time, rather than after
> the 'boot' command where they come as a surprise to the user.

When I first wrote the loader.conf thingy, I couldn't get the value
of environment variables from the FICL environment. Now I do, and it
has been my intent rewriting the whole code to make it more easier
for people to add to it and take advantage of the better integration
between FICL and underlying loader, but it has suffered from a
perfectionist streak I have sometimes: I'm over-designing it.

Anyway, I have been too busy lately to do anything with FreeBSD that
is not directly related to things I have to do at work, and it doesn't
look like slacking up so soon. So, unfortunately, I don't have time to
do any of the little things that have been cropping up with loader.

Looking the code over, it seems to me the quickest way of implementing
this would be create a word that goes over all the environment variables
and create/change the appropriate module structures as it finds
corresponding variables, and then add this variable to the beginning of
boot and boot-conf definitions on loader.4th.

I wish I could be of more help at the moment, but I can't. :-(

-- 
Daniel C. Sobral                   (8-DCS)
Daniel.Sobral@tcoip.com.br
dcs@newsguy.com
dcs@freebsd.org
capo@notorious.bsdconspiracy.net

Ever notice that even the busiest people are
never too busy to tell you just how busy they are?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109041248.f84CmOa21358>