Add pci_get_max_payload() to fetch the PCI-express maximum payload size.
authorjhb <jhb@FreeBSD.org>
Fri, 24 Jun 2016 17:26:42 +0000 (17:26 +0000)
committerjhb <jhb@FreeBSD.org>
Fri, 24 Jun 2016 17:26:42 +0000 (17:26 +0000)
commit73d915a1ae17a1f5e5259b8555ff53f9c3ba1ad2
tree42c9c5655c7b53d96282330ff2dff3f5bb7e6de4
parentb5c3fb9427806b740f7df3e43a1513e1f5fa840b
Add pci_get_max_payload() to fetch the PCI-express maximum payload size.

Approved by: re (gjb)
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D6951
share/man/man9/pci.9
sys/dev/pci/pci.c
sys/dev/pci/pcivar.h