2005-03-04 Joel Sherrill <joel@OARcorp.com>

* pci/pci.c, pci/pci.h, startup/bspstart.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:48:17 +00:00
parent bdc2572a16
commit 037864f52f
4 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2005-03-04 Joel Sherrill <joel@OARcorp.com>
* pci/pci.c, pci/pci.h, startup/bspstart.c: Make PCI initialize
function part of the unified PCI API as pci_initialize().
2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* startup/bspstart.c: include <rtems/powerpc/powerpc.h>.

View File

@@ -172,7 +172,7 @@ pci_config BSP_pci_config[2] = {
/*
* This routine determines the maximum bus number in the system
*/
void InitializePCI()
void pci_initialize()
{
int PciNumber;
unchar ucBusNumber, ucSlotNumber, ucFnNumber, ucNumFuncs;

View File

@@ -1189,7 +1189,7 @@ extern int pci_write_config_dword();
* Return the number of PCI busses in the system
*/
extern unsigned char BusCountPCI();
extern void InitializePCI();
extern void pci_initialize();
#endif
int BSP_PCIxFindDevice(unsigned short vendorid, unsigned short deviceid,

View File

@@ -589,7 +589,7 @@ void bsp_start( void )
#ifdef SHOW_MORE_INIT_SETTINGS
printk("Going to start PCI buses scanning and initialization\n");
#endif
InitializePCI();
pci_initialize();
#ifdef SHOW_MORE_INIT_SETTINGS
printk("Number of PCI buses found is : %d\n", BusCountPCI());
#endif