forked from Imagelibrary/rtems
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:
@@ -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>.
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user