freebsd-skq/sys/dev/acpica
imp 046df80097 In newbus land, ivars can only be accessed for direct child, or when
the driver has unholy private knowledge of its great-*cgrandchildren.
The ACPI allocation routine lacked such knowledge when it tried to do
a default allocation for all descendants, rather than just its
immeidate children, so would access grandchild's ivar in an unsafe
way.  This could lead to a panic when devices were present which had
no addresses setup by the BIOS, but which were later allocated in a
lazy manner via pci_alloc_map.  As such, only do the default
allocation adjustments for immediate children.  The manner that
acpi_sysres_find accesses the resource list, used later in
acpi_alloc_resource, is safe and proper so no additional test is
needed there.

This fixes a panic when probing an disabled ata controller on some
newer intel blades.

Reported by: dwhite
2005-06-03 20:12:12 +00:00
..
Osd Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
acpi_acad.c Use General definition for general notify. 2005-05-19 09:13:26 +00:00
acpi_battery.c
acpi_button.c
acpi_cmbat.c
acpi_cpu.c Advertise that we can handle unified SMP control of processor power 2005-04-10 19:21:42 +00:00
acpi_ec.c If there is a problem during probe, be sure to free up any resources 2005-05-12 22:35:08 +00:00
acpi_if.m
acpi_isab.c
acpi_lid.c
acpi_package.c Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
acpi_pci_link.c
acpi_pci.c
acpi_pcib_acpi.c
acpi_pcib_pci.c
acpi_pcib.c
acpi_pcibvar.h
acpi_perf.c Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
acpi_powerres.c
acpi_quirk.c
acpi_quirks
acpi_resource.c
acpi_thermal.c
acpi_throttle.c Set CPU speed to 100% in acpi_throttle attach. This is needed for some 2005-04-10 20:04:30 +00:00
acpi_timer.c
acpi_video.c
acpi.c In newbus land, ivars can only be accessed for direct child, or when 2005-06-03 20:12:12 +00:00
acpiio.h
acpivar.h Simplify the ACPI taskqueue implementation. Use a thread queue type instead 2005-05-09 07:34:04 +00:00