summaryrefslogtreecommitdiffstats
path: root/freebsd/dev/pci/pcivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dev/pci/pcivar.h')
-rw-r--r--freebsd/dev/pci/pcivar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/dev/pci/pcivar.h b/freebsd/dev/pci/pcivar.h
index d6fd4b22..a095db6d 100644
--- a/freebsd/dev/pci/pcivar.h
+++ b/freebsd/dev/pci/pcivar.h
@@ -446,7 +446,9 @@ pci_msix_count(device_t dev)
device_t pci_find_bsf(uint8_t, uint8_t, uint8_t);
device_t pci_find_dbsf(uint32_t, uint8_t, uint8_t, uint8_t);
+#ifndef __rtems__
device_t pci_find_device(uint16_t, uint16_t);
+#endif /* __rtems__ */
/* Can be used by drivers to manage the MSI-X table. */
int pci_pending_msix(device_t dev, u_int index);