summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/lib/libbsp/shared/vmeUniverse/README.porting2
-rw-r--r--c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/shared/vmeUniverse/README.porting b/c/src/lib/libbsp/shared/vmeUniverse/README.porting
index f3dd2d5511..c2471c72af 100644
--- a/c/src/lib/libbsp/shared/vmeUniverse/README.porting
+++ b/c/src/lib/libbsp/shared/vmeUniverse/README.porting
@@ -57,7 +57,7 @@ possible to override some things without having to modify the driver code.
CFLAGS += -DBSP_PIC_DO_EOI=do{}while(0)
CFLAGS += -DBSP_PCI_CONFIG_IN_LONG=PCIConfigRead32
CFLAGS += -DBSP_PCI_CONFIG_IN_BYTE=PCIConfigRead8
- (you still need to supply BSP_pciFindDevice)
+ (you still need to supply pci_find_by_devid)
3) create your own version of vmeUniverseInstallIrqMgr():
copy to a separate file and replace
BSP_rtems_install_irq_handler() by a proper call to set_vector.
diff --git a/c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c b/c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c
index 1c7ed82119..7fbbf3e40e 100644
--- a/c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c
+++ b/c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c
@@ -59,7 +59,7 @@
/* allow the BSP to override the default routines */
#ifndef BSP_PCI_FIND_DEVICE
-#define BSP_PCI_FIND_DEVICE BSP_pciFindDevice
+#define BSP_PCI_FIND_DEVICE pci_find_by_devid
#endif
#ifndef BSP_PCI_CONFIG_IN_LONG
#define BSP_PCI_CONFIG_IN_LONG pci_read_config_dword