cvs commit: src/sys/dev/acpica acpi.c acpi_pcib.c acpi_resource.c
acpivar.h
John Baldwin
jhb at FreeBSD.org
Wed Jun 23 10:21:03 PDT 2004
jhb 2004-06-23 17:21:02 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi.c acpi_pcib.c acpi_resource.c
acpivar.h
Log:
- Defer BUS_CONFIG_INTR() on ACPI IRQ resources until the resources are
actually used. For most ACPI devices this means deferring the call
until bus_alloc_resource().
- Add a function acpi_config_intr() to call BUS_CONFIG_INTR() for an
ACPI IRQ resource using the trigger mode and polarity information
stored in the ACPI resource object.
- Add a function acpi_lookup_irq_resource() to lookup the ACPI IRQ
resource that corresponds to a specified rid and new-bus resource.
- Have the ACPI PCI bridge driver call BUS_CONFIG_INTR() on interrupts
that it routes through link devices.
- Remove needactivate variable from acpi_alloc_resource() by changing the
function not modify the flags variable but just mask off RF_ACTIVE when
calling rman_reserve_resource().
Reviewed by: njl (1, an earlier version)
Revision Changes Path
1.164 +47 -32 src/sys/dev/acpica/acpi.c
1.45 +5 -0 src/sys/dev/acpica/acpi_pcib.c
1.26 +88 -3 src/sys/dev/acpica/acpi_resource.c
1.73 +4 -0 src/sys/dev/acpica/acpivar.h
More information about the cvs-src
mailing list