freebsd-nq/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 Move flags into a private ivar so it can't collide with device flags. 2004-06-30 16:08:03 +00:00
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 Use the acpi_id_probe() method instead of acpi_MatchHid(), which is now 2004-06-29 19:02:27 +00:00
acpi_lid.c MPSAFE locking 2004-08-13 06:21:55 +00:00
acpi_package.c Add support for packages as the first element of _PRW. This may allow 2004-04-09 06:40:03 +00:00
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 Add the table quirk matching code. It matches rules defined in acpi_quirks 2004-06-30 04:45:32 +00:00
acpi_quirks Use a default of the FADT for matching CreatorId quirks. Use XSDT to mean 2004-06-29 14:32:06 +00:00
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