]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add helper routines for PCI device drivers to read, write, and modify
authorjhb <jhb@FreeBSD.org>
Thu, 5 Nov 2015 21:26:06 +0000 (21:26 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 5 Nov 2015 21:26:06 +0000 (21:26 +0000)
commit0c12e4753ba6951c7105eee5418f69cfda826f9c
tree8c409df6aaf8e0cc9b8b82131928b46509d8b572
parent42d9b66898a9a9cbc2e8113e8c44b5acebc7109b
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.

Reviewed by: imp
MFC after: 1 week
Sponsored by: Chelsio
Differential Revision: https://reviews.freebsd.org/D4088
share/man/man9/Makefile
share/man/man9/pci.9
sys/dev/pci/pci.c
sys/dev/pci/pcivar.h