From owner-freebsd-current Tue Sep 4 5:50:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.tcoip.com.br (cerberus.tcoip.com.br [200.220.254.3]) by hub.freebsd.org (Postfix) with ESMTP id D788B37B406; Tue, 4 Sep 2001 05:50:05 -0700 (PDT) Received: (from dcs@localhost) by mail.tcoip.com.br (8.11.1/8.11.1) id f84CmOa21358; Tue, 4 Sep 2001 09:48:24 -0300 From: Daniel Capo Sobral Message-Id: <200109041248.f84CmOa21358@mail.tcoip.com.br> Subject: Re: HEADS UP: ACPI CHANGES AFFECTING MOST -CURRENT USERS To: msmith@freebsd.org (Mike Smith) Date: Tue, 4 Sep 2001 09:48:24 -0300 (EST) Cc: yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA), dcs@freebsd.org, current@freebsd.org In-Reply-To: <200109032330.f83NU9n02241@mass.dis.org> from "Mike Smith" at Sep 03, 2001 04:30:09 PM Disclaimer: Klaatu Barada Nikto! X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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