cvs commit: src/sys/dev/acpica acpi_video.c

Nate Lawson njl at FreeBSD.org
Fri Jul 16 09:59:33 PDT 2004


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


More information about the cvs-src mailing list