Date: Fri, 16 Jul 2004 16:59:32 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_video.c Message-ID: <200407161659.i6GGxW9W005364@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004-07-16 16:59:32 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_video.c Log: Fix acpi_video loading. When we started cleaning up the duplicate handles left around after the PCI probe, acpi_video stopped attaching because while it was an acpi child device, it really is a PCI device. Fix this by making it a PCI child. * Remove non-handle ivars accesses since child busses only implement acpi_get_handle(). * Access the acpi softc directly through the devclass instead of through the implied parent. * Clean up a potential panic on unload by freeing the sysctl context before storing NULL in the OID. Found by: marks Revision Changes Path 1.5 +4 -5 src/sys/dev/acpica/acpi_video.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407161659.i6GGxW9W005364>