diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-03-04 21:49:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-03-04 21:49:05 +0000 |
commit | 9c25cad68e2bc86e9d6138a683bd987ce022b7c6 (patch) | |
tree | edf3091a652d5ea4c9b932164bd821af26358089 | |
parent | 2005-03-04 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-9c25cad68e2bc86e9d6138a683bd987ce022b7c6.tar.bz2 |
2005-03-04 Joel Sherrill <joel@OARcorp.com>
* vmeUniverse/README.porting, vmeUniverse/vmeUniverse.c: Make PCI
initialize function part of the unified PCI API as pci_initialize().
-rw-r--r-- | c/src/lib/libbsp/shared/vmeUniverse/README.porting | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c | 2 |
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 |