aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcivar.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2015-11-05 21:27:25 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2015-11-05 21:27:25 +0000
commit87dd2f95d2fd6921a6b442bc309888a653410001 (patch)
tree5c0c3dd2265de647727b90524bf7ccdbbf094e85 /sys/dev/pci/pcivar.h
parentec603c729718833fbce3b91ed477d961a393c14a (diff)
downloadsrc-87dd2f95d2fd6921a6b442bc309888a653410001.tar.gz
src-87dd2f95d2fd6921a6b442bc309888a653410001.zip
Add a new helper function for PCI devices to locate the upstream
PCI-express root port of a given PCI device. Reviewed by: kib, imp MFC after: 1 week Sponsored by: Chelsio Differential Revision: https://reviews.freebsd.org/D4089
Notes
Notes: svn path=/head/; revision=290415
Diffstat (limited to 'sys/dev/pci/pcivar.h')
-rw-r--r--sys/dev/pci/pcivar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 242201b13390..b8f64c2d9793 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -547,6 +547,7 @@ int pci_msix_device_blacklisted(device_t dev);
void pci_ht_map_msi(device_t dev, uint64_t addr);
+device_t pci_find_pcie_root_port(device_t dev);
int pci_get_max_read_req(device_t dev);
void pci_restore_state(device_t dev);
void pci_save_state(device_t dev);