Re: [BK PATCH] pcibios_* removals for 2.5.40

From: Greg KH (greg@kroah.com)
Date: Fri Oct 04 2002 - 15:52:23 EST


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.674.3.3 -> 1.674.3.4
# drivers/char/rocket.c 1.12 -> 1.13
# drivers/scsi/inia100.c 1.10 -> 1.11
# drivers/sbus/sbus.c 1.15 -> 1.16
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/10/04 greg@kroah.com 1.674.3.4
# PCI: fixed remaining usages of pcibios_present() that I missed previously.
# --------------------------------------------
#
diff -Nru a/drivers/char/rocket.c b/drivers/char/rocket.c
--- a/drivers/char/rocket.c Fri Oct 4 13:47:29 2002
+++ b/drivers/char/rocket.c Fri Oct 4 13:47:29 2002
@@ -1993,7 +1993,7 @@
                         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 -Nru a/drivers/sbus/sbus.c b/drivers/sbus/sbus.c
--- a/drivers/sbus/sbus.c Fri Oct 4 13:47:29 2002
+++ b/drivers/sbus/sbus.c Fri Oct 4 13:47:29 2002
@@ -312,7 +312,7 @@
                 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 -Nru a/drivers/scsi/inia100.c b/drivers/scsi/inia100.c
--- a/drivers/scsi/inia100.c Fri Oct 4 13:47:29 2002
+++ b/drivers/scsi/inia100.c Fri Oct 4 13:47:29 2002
@@ -208,7 +208,7 @@
         /*
          * 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:47 EST