cvs commit: src/sys/dev/acpica acpi_video.c
njl at FreeBSD.org
Fri Jul 16 09:59:34 PDT 2004
njl 2004-07-16 16:59:32 UTC
FreeBSD src repository
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
* 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
More information about the cvs-all