freebsd-dev/sys/dev/acpica
Nate Lawson adad474471 Rework sysresource management. Instead of having each sysresource object
hold its own values, pass them up to the parent (acpi0) and merge/uniq them
on the way.  After the namespace evaluation, acpi will reserve these
resources and manage them via rman before bus_generic_probe() and
bus_generic_attach().  This is necessary because some systems specify
conflicting resources in separate sysresource objects.  It's also cleaner
in that the interface between sysresource and acpi is now merely the parent's
resource list.  This code handles the following cases:

1. Unique resource:  add it to the parent via bus_set_resource().
2. New wholly contained in old:  discard new.
3. New tail overlaps old head:  grow old head downward.
   AND/OR
4. New head overlaps old tail:  grow old tail upward.

Tested by:	Pawel Worach <sajd_at_telia.com>
Tested by:	Radek Kozlowski <radek_at_raadradd.com>
MFC after:	5 days
2004-08-23 16:28:42 +00:00
..
Osd MPSAFE locking 2004-08-13 06:22:26 +00:00
acpi_acad.c Record the new status after checking if it has changed, not before. This 2004-08-13 17:47:40 +00:00
acpi_battery.c MPSAFE locking 2004-08-13 06:21:41 +00:00
acpi_button.c
acpi_cmbat.c Fix a deadlock on boot for some systems where reading the battery status 2004-08-17 18:36:07 +00:00
acpi_cpu.c MPSAFE locking 2004-08-13 06:21:47 +00:00
acpi_ec.c MPSAFE locking 2004-08-13 06:21:53 +00:00
acpi_if.m Update the interface for child drivers. Add acpi_scan_children, which 2004-07-15 16:29:08 +00:00
acpi_isab.c
acpi_lid.c MPSAFE locking 2004-08-13 06:21:55 +00:00
acpi_package.c
acpi_pci_link.c Fix PCI link irq programming on resume. A logic bug prevented a device 2004-08-21 18:18:32 +00:00
acpi_pci.c MPSAFE locking 2004-08-13 06:21:58 +00:00
acpi_pcib_acpi.c Re-work ACPI PCI IRQ routing (_PRT, link devices). The old approach was 2004-08-11 14:52:50 +00:00
acpi_pcib_pci.c Re-work ACPI PCI IRQ routing (_PRT, link devices). The old approach was 2004-08-11 14:52:50 +00:00
acpi_pcib.c MPSAFE locking 2004-08-13 06:22:07 +00:00
acpi_pcibvar.h Re-work ACPI PCI IRQ routing (_PRT, link devices). The old approach was 2004-08-11 14:52:50 +00:00
acpi_powerres.c MPSAFE locking 2004-08-13 06:22:10 +00:00
acpi_quirk.c
acpi_quirks
acpi_resource.c Rework sysresource management. Instead of having each sysresource object 2004-08-23 16:28:42 +00:00
acpi_thermal.c MPSAFE locking 2004-08-13 06:22:17 +00:00
acpi_timer.c Reinsert the bus space handle and tag, they are needed for the timer test. 2004-07-22 05:42:14 +00:00
acpi_video.c MPSAFE locking 2004-08-13 06:22:20 +00:00
acpi.c Rework sysresource management. Instead of having each sysresource object 2004-08-23 16:28:42 +00:00
acpiio.h Remove the ACPIIO_ENABLE and ACPIIO_DISABLE ioctls as well as all 2004-08-18 05:48:24 +00:00
acpivar.h Rework sysresource management. Instead of having each sysresource object 2004-08-23 16:28:42 +00:00