cvs commit: src/sys/i386/i386 bios.c

John Baldwin jhb at FreeBSD.org
Wed Jun 16 00:08:03 GMT 2004


On Monday 14 June 2004 10:12 pm, Nate Lawson wrote:
> njl         2004-06-15 02:12:12 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/i386/i386        bios.c
>   Log:
>   We only need the devclass_find() result, not the softc.

The devclass still exists if there is no acpi0 device due to 'set 
hint.acpi.0.disabled=1'.  Perhaps devclass_get_device() is more appropriate 
than devclass_get_softc() though.

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


More information about the cvs-src mailing list