Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2002 15:16:14 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/i386/i386 legacy.c nexus.c
Message-ID:  <XFMail.20020930151614.jhb@FreeBSD.org>
In-Reply-To: <200209301847.g8UIlBWr062140@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30-Sep-2002 John Baldwin wrote:
> jhb         2002/09/30 11:47:11 PDT
> 
>   Modified files:
>     sys/i386/i386        legacy.c nexus.c 
>   Log:
>   - Give legacy an identify routine that always adds 'legacy0' at an order
>     of 1 so that it is not probed until after acpi0 is probed and attached.
>   - In legacy_probe(), return ENXIO if acpi0 is around and alive.
>   - nexus_attach() is now much simpler and just lets its child drivers do
>     all the work.

With these last two commits I can boot my laptop both with and w/o ACPI
(which I could do before) and with ACPI enabled but with it intentionally
failing to probe (which I had not tested before).

If you boot with ACPI enabled but have 'bus' set in acpi_disable then you
will have succesfully blown your foot off.  If someone wants to add smarts
to legacy_probe() so that it handles that case cleanly (I'm not sure how
it would) then you can avoid that form of foot shooting.  However,
acpi_avoid/acpi_disable should only be used for debugging, so if you
manage to blow your foot off in that manner you are on your own. :)

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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