From fb77bc8af064b3566d624095faafe679197d42ba Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 14 Mar 2005 21:43:52 +0000 Subject: 2005-03-14 Joel Sherrill * vmeUniverse/README.porting, vmeUniverse/vmeUniverse.c: Continue PCI API unification. All use pci_find_device(). --- c/src/lib/libbsp/shared/ChangeLog | 5 +++++ c/src/lib/libbsp/shared/vmeUniverse/README.porting | 2 +- c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'c/src/lib/libbsp/shared') diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog index 435e5fff43..ec38c9a24a 100644 --- a/c/src/lib/libbsp/shared/ChangeLog +++ b/c/src/lib/libbsp/shared/ChangeLog @@ -1,3 +1,8 @@ +2005-03-14 Joel Sherrill + + * vmeUniverse/README.porting, vmeUniverse/vmeUniverse.c: Continue PCI + API unification. All use pci_find_device(). + 2005-01-23 Joel Sherrill * tod.c: Change type of RTC_Count to size_t. diff --git a/c/src/lib/libbsp/shared/vmeUniverse/README.porting b/c/src/lib/libbsp/shared/vmeUniverse/README.porting index c2471c72af..8346a4b1b2 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 pci_find_by_devid) + (you still need to supply pci_find_device) 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 7fbbf3e40e..33b88e72e2 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 pci_find_by_devid +#define BSP_PCI_FIND_DEVICE pci_find_device #endif #ifndef BSP_PCI_CONFIG_IN_LONG #define BSP_PCI_CONFIG_IN_LONG pci_read_config_dword -- cgit v1.2.3