summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1996-09-05 21:28:51 +0000
committerse <se@FreeBSD.org>1996-09-05 21:28:51 +0000
commitefb4f964c4bfd1d58471ddab3c9aa3c1f679fecc (patch)
tree14dbf9df4ee2a42a1461ad5a6bf2275ae1c07ca0 /sys
parent3dd86bb9547257594b192b3dbd042ac425b89aa2 (diff)
downloadFreeBSD-src-efb4f964c4bfd1d58471ddab3c9aa3c1f679fecc.zip
FreeBSD-src-efb4f964c4bfd1d58471ddab3c9aa3c1f679fecc.tar.gz
Fix code that deals with multiple host to PCI bridges by making the next
one use the highest seen bus number plus 1 as its starting point.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pci.c3
-rw-r--r--sys/pci/pci.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 4d88c99..6bc7c9d 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pci.c,v 1.51 1996/06/09 11:58:19 asami Exp $
+** $Id: pci.c,v 1.52 1996/09/02 21:23:04 se Exp $
**
** General subroutines for the PCI bus.
** pci_configure ()
@@ -971,6 +971,7 @@ void pci_configure()
if (pcicb)
pcicb = pcicb->pcicb_next;
}
+ pcibusmax++;
}
pci_conf_count++;
}
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index 4d88c99..6bc7c9d 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pci.c,v 1.51 1996/06/09 11:58:19 asami Exp $
+** $Id: pci.c,v 1.52 1996/09/02 21:23:04 se Exp $
**
** General subroutines for the PCI bus.
** pci_configure ()
@@ -971,6 +971,7 @@ void pci_configure()
if (pcicb)
pcicb = pcicb->pcicb_next;
}
+ pcibusmax++;
}
pci_conf_count++;
}
OpenPOWER on IntegriCloud