Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2011 16:15:15 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/pci pci_bus.c src/sys/dev/acpica acpi_pcib_acpi.c src/sys/i386/pci pci_bus.c
Message-ID:  <201106221615.p5MGFinI000680@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2011-06-22 16:15:15 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/pci        pci_bus.c 
    sys/dev/acpica       acpi_pcib_acpi.c 
    sys/i386/pci         pci_bus.c 
  Log:
  SVN rev 223424 on 2011-06-22 16:15:15Z by jhb
  
  Add a helper routine to conditionally modify the start address of a
  resource allocation from an x86 Host-PCI bridge driver so that it can be
  reused by the ACPI Host-PCI bridge driver (and eventually the MPTable
  Host-PCI bridge driver) instead of duplicating the same logic.  Note that
  this means that hw.acpi.host_mem_start is now replaced with the
  hw.pci.host_mem_start tunable that was already used in the non-ACPI case.
  This also removes hw.acpi.host_mem_start on ia64 where it was not
  applicable (the implementation was very x86-specific).
  
  While here, adjust the logic to apply the new start address on any
  "wildcard" allocation even if that allocation comes from a subset of
  the allowable address range.
  
  Reviewed by:    imp (1)
  
  Revision  Changes    Path
  1.127     +32 -22    src/sys/amd64/pci/pci_bus.c
  1.66      +4 -22     src/sys/dev/acpica/acpi_pcib_acpi.c
  1.135     +32 -22    src/sys/i386/pci/pci_bus.c



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