freebsd-dev/sys/dev/acpica
Warner Losh f09aa88c33 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 Introduce a general name for the previously cmbat-only ioctls. It has the 2005-03-17 22:42:49 +00:00
acpi_button.c Fix SCM ID's. 2005-03-02 09:22:34 +00:00
acpi_cmbat.c Only report a critical battery level once until it's gone non-critical. 2004-12-20 05:03:41 +00:00
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 Add the acpi_get_features() method. This method is called on child drivers 2005-04-04 15:46:57 +00:00
acpi_isab.c Use the acpi_id_probe() method instead of acpi_MatchHid(), which is now 2004-06-29 19:02:27 +00:00
acpi_lid.c Remove code to initialize the lid state at boot. It interfered with lid 2004-08-25 20:09:15 +00:00
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 - Add support for link devices where _CRS just outright fails to execute. 2005-01-18 20:18:46 +00:00
acpi_pci.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
acpi_pcib_acpi.c Fix SCM ID's. 2005-03-02 09:22:34 +00:00
acpi_pcib_pci.c Remove trailing whitespace. 2004-12-27 05:36:47 +00:00
acpi_pcib.c - If we fail to find an entry in the PRT, output a warning message. 2005-03-08 17:22:11 +00:00
acpi_pcibvar.h Protect against multiple includes and use _KERNEL to protect the PCI fns. 2005-02-28 05:39:34 +00:00
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 Remove trailing whitespace. 2004-12-27 05:36:47 +00:00
acpi_quirk.c Add the table quirk matching code. It matches rules defined in acpi_quirks 2004-06-30 04:45:32 +00:00
acpi_quirks Add a entry for the Compaq R3000Z to indicate that it has the weird MADT 2005-02-22 21:54:20 +00:00
acpi_resource.c s/SLIST/STAILQ/ 2005-03-18 11:57:44 +00:00
acpi_thermal.c Set the start of the cooling time later on, when we're actually performing 2005-02-22 00:40:13 +00:00
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 Fix SCM ID's. 2005-03-02 09:22:34 +00:00
acpi_video.c Fix SCM ID's. 2005-03-02 09:22:34 +00:00
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 Introduce a general name for the previously cmbat-only ioctls. It has the 2005-03-17 22:42:49 +00:00
acpivar.h Simplify the ACPI taskqueue implementation. Use a thread queue type instead 2005-05-09 07:34:04 +00:00