From 7501ea7ee8fbf6cf683d3e0e9376029fcd5628b4 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman <greg@kroah.com> Date: Thu, 3 Oct 2002 20:28:07 -0700 Subject: [PATCH] PCI: fixed remaining usages of pcibios_present() that I missed previously. --- drivers/char/rocket.c | 2 +- drivers/sbus/sbus.c | 2 +- drivers/scsi/inia100.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c index 4b1509ea7eb9..03df9f8d5a8e 100644 --- a/drivers/char/rocket.c +++ b/drivers/char/rocket.c @@ -1993,7 +1993,7 @@ int __init rp_init(void) isa_boards_found++; } #ifdef CONFIG_PCI - if (pcibios_present()) { + if (pci_present()) { if(isa_boards_found < NUM_BOARDS) pci_boards_found = init_PCI(isa_boards_found); } else { diff --git a/drivers/sbus/sbus.c b/drivers/sbus/sbus.c index 906c7966d000..5056ae6266dc 100644 --- a/drivers/sbus/sbus.c +++ b/drivers/sbus/sbus.c @@ -312,7 +312,7 @@ static int __init sbus_init(void) nd = prom_searchsiblings(topnd, "sbus"); if(nd == 0) { #ifdef CONFIG_PCI - if (!pcibios_present()) { + if (!pci_present()) { prom_printf("Neither SBUS nor PCI found.\n"); prom_halt(); } else { diff --git a/drivers/scsi/inia100.c b/drivers/scsi/inia100.c index e5dc661cc491..eb689c496f94 100644 --- a/drivers/scsi/inia100.c +++ b/drivers/scsi/inia100.c @@ -208,7 +208,7 @@ int orc_ReturnNumberOfAdapters(void) /* * PCI-bus probe. */ - if (pcibios_present()) { + if (pci_present()) { /* * Note: I removed the struct pci_device_list stuff since this * driver only cares about one device ID. If that changes in -- 2.30.9