Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2004 17:21:02 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/acpica acpi.c acpi_pcib.c acpi_resource.c acpivar.h
Message-ID:  <200406231721.i5NHL2iJ087209@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406231721.i5NHL2iJ087209>