]> CyberLeo.Net >> Repos - FreeBSD/stable/9.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)
commita324d42e2a7e48aa155d8a1847e1acb7f8c8b45e
tree00bfb71a2b8e9a6d95dfa458fcab4b6959a8432f
parentc32e2e63770f76853f5028a1669359943cd1ca49
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/9@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