]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 261524,261526,261527:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Feb 2014 18:34:47 +0000 (18:34 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Feb 2014 18:34:47 +0000 (18:34 +0000)
commit108f491cd6e7e026e754acd355ea829cd6cad531
treedc277e84571c2b0f6bc689012acba796c548c4f8
parent79e0aea849c041e149bb1129e6af35edf0c13081
MFC 261524,261526,261527:
- Properly set the alignment flags when allocating the initial range for a
  BAR.  This only really matters when pci_do_realloc_bars is enabled and
  the initial allocation of a specific range fails.
- Simplify pci_reserve_map() by calling resource_list_reserve() to allocate
  the resource after creating a resource list entry rather than reimplementing
  it by hand.
- Add two tunables to ignore certain firmware-assigned resources.  These
  are mostly useful for debugging.
  - hw.pci.clear_bars ignores all firmware-assigned ranges for BARs when
    set.
  - hw.pci.clear_pcib ignores all firmware-assigned ranges for PCI-PCI
    bridge I/O windows when set.

git-svn-id: svn://svn.freebsd.org/base/stable/10@262225 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/pci/pci.c
sys/dev/pci/pci_pci.c