freebsd-dev/sys/dev/acpica
Nate Lawson da72d149ef Don't attach special devices in the order they appear in the AML tree.
If the embedded controller exists before the sysresource devices, for
example, it will be attached first.  Instead, let the normal device
order function work as we first desired. [1]

There still remained a problem where we couldn't allocate resources in
acpi0 that were passed up by the sysresource pseudo-devices.  These
devices had to probe/attach first to give their resources to acpi, then
acpi would allocate them before probing/attaching other devices.  To
work around this, we attach them from acpi_sysres_alloc().  A better
approach would be to implement multi-pass probe/attach in newbus but
that's a much bigger task.

Suggested by:	jhb [1]
Hardware from:	Centaur Technologies
MFC after:	1 week
2006-05-07 03:28:10 +00:00
..
Osd Fix an off-by-one error in the port range detection. Cleanup some old 2006-04-04 02:22:38 +00:00
acpi_acad.c Invert the check logic. No functional change, but I prefer this version. 2005-10-24 18:30:57 +00:00
acpi_battery.c Simplify checks for valid battery info via DeMorgan's Rule. No 2005-11-23 00:53:01 +00:00
acpi_button.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_cmbat.c Oops, untested code was included accidentally. 2006-04-15 16:10:53 +00:00
acpi_cpu.c If we're trying to use C2/3 and reads from the register are returning 2005-10-25 21:15:47 +00:00
acpi_dock.c o Correct a path to include. 2006-04-16 15:35:12 +00:00
acpi_ec.c Revert two changes I was testing regarding polling delay. 2005-12-06 14:51:55 +00:00
acpi_hpet.c Move HPET debugging under ACPI_TIMER in order to save a bitfield. 2005-11-01 20:41:43 +00:00
acpi_if.m Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_isab.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_lid.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_package.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pci_link.c Be a little more forgiving of lame BIOS writers. If a link device that 2006-01-06 16:14:32 +00:00
acpi_pci.c Make the ACPI and OpenFirmware PCI bus drivers subclasses of the generic 2006-01-20 22:01:34 +00:00
acpi_pcib_acpi.c - Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the 2006-01-06 19:22:19 +00:00
acpi_pcib_pci.c - Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the 2006-01-06 19:22:19 +00:00
acpi_pcib.c Force any hardwire-routed interrupts to level trigger and active low 2005-12-03 21:17:17 +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 Don't flood kernel logs with "invalid _PSS package" messages. 2005-12-12 11:15:20 +00:00
acpi_powerres.c Remove unnecessary assignment. 2006-04-21 19:06:29 +00:00
acpi_quirk.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_quirks Add a quirk for a motherboard whose acpi timer runs too fast. 2005-06-26 18:19:14 +00:00
acpi_resource.c Don't attach special devices in the order they appear in the AML tree. 2006-05-07 03:28:10 +00:00
acpi_smbat.c Remove unused variable. 2006-02-21 03:16:58 +00:00
acpi_smbus.h Import ACPI smart battery support. Newer systems (Acer, mostly) do not 2005-10-23 00:20:13 +00:00
acpi_thermal.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_throttle.c Remove unused variable. 2006-02-21 03:15:26 +00:00
acpi_timer.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_video.c Attach to the vgapci device rather than pci. 2005-12-20 22:42:16 +00:00
acpi.c Don't attach special devices in the order they appear in the AML tree. 2006-05-07 03:28:10 +00:00
acpiio.h Cleanups and support code for importing smart battery support. 2005-10-23 00:16:41 +00:00
acpivar.h Add KTR support and move some performance debugging variables in the EC 2005-12-06 14:47:28 +00:00