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().
This commit is contained in:
Joel Sherrill
2005-03-04 21:49:05 +00:00
parent 312001953e
commit 9c25cad68e
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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