]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 290414,290415:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Nov 2015 01:06:45 +0000 (01:06 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Nov 2015 01:06:45 +0000 (01:06 +0000)
commit03b09e75e606bbd76696cada62dbac2ea7e83943
treeace90b5139646c3f0b5f34125b0d427d5ca609cb
parent3a1e56b47a83213acadfb266945405409e8f68b9
MFC 290414,290415:
Additional PCI helper functions.

290414:
Add helper routines for PCI device drivers to read, write, and modify
PCI-Express capability registers (that is, PCI config registers in the
standard PCI config space belonging to the PCI-Express capability
register set).

Note that all of the current PCI-e registers are either 16 or 32-bits,
so only widths of 2 or 4 bytes are supported.

290415:
Add a new helper function for PCI devices to locate the upstream
PCI-express root port of a given PCI device.

git-svn-id: svn://svn.freebsd.org/base/stable/10@290809 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man9/Makefile
share/man/man9/pci.9
sys/dev/pci/pci.c
sys/dev/pci/pcivar.h