forked from Imagelibrary/rtems
2005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>
* irq/irq_init.c, startup/bspstart.c: Name modification for generic pci interface
This commit is contained in:
@@ -160,7 +160,7 @@ void VIA_isa_bridge_interrupts_setup(void)
|
||||
unsigned char maxBus;
|
||||
unsigned found = 0;
|
||||
|
||||
maxBus = BusCountPCI();
|
||||
maxBus = pci_bus_count();
|
||||
pci_dev.function = 0; /* Assumes the bidge is the first function */
|
||||
|
||||
for (pci_dev.bus = 0; pci_dev.bus < maxBus; pci_dev.bus++) {
|
||||
|
||||
@@ -457,7 +457,7 @@ ShowBATS();
|
||||
pci_initialize();
|
||||
|
||||
#ifdef SHOW_MORE_INIT_SETTINGS
|
||||
printk("Number of PCI buses found is : %d\n", BusCountPCI());
|
||||
printk("Number of PCI buses found is : %d\n", pci_bus_count());
|
||||
#endif
|
||||
#ifdef TEST_RAW_EXCEPTION_CODE
|
||||
printk("Testing exception handling Part 1\n");
|
||||
|
||||
Reference in New Issue
Block a user