summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1996-01-19 19:01:19 +0000
committerse <se@FreeBSD.org>1996-01-19 19:01:19 +0000
commit45c6f961fff912c9422ee294fdda3342c0c20d0a (patch)
treed5e93977437447878d3f76798746620f20a6b3e9 /sys/pci/pci.c
parenteabe12547d85c27283aafdc238e64cc8c87288a0 (diff)
downloadFreeBSD-src-45c6f961fff912c9422ee294fdda3342c0c20d0a.zip
FreeBSD-src-45c6f961fff912c9422ee294fdda3342c0c20d0a.tar.gz
Improve PCI probe messages by printing the bus number.
Add missing newline to PCI to PCI bridge message. Submitted by: Matt Thomas <matt@lkg.dec.com>
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r--sys/pci/pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index 2b36f8f..c1b6873 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pci.c,v 1.38 1995/12/15 13:40:20 se Exp $
+** $Id: pci.c,v 1.39 1995/12/16 00:27:46 bde Exp $
**
** General subroutines for the PCI bus.
** pci_configure ()
@@ -365,7 +365,7 @@ pci_bus_config (void)
*/
pci_bridge_config ();
- printf ("Probing for devices on the PCI bus:\n");
+ printf ("Probing for devices on PCI bus %d:\n", pcicb->pcicb_bus);
#ifndef PCI_QUIET
if (bootverbose && !pci_info_done) {
pci_info_done=1;
@@ -604,7 +604,7 @@ pci_bus_config (void)
if (bootverbose) {
printf ("\tbridge from pci%d to pci%d through %d.\n",
primary, secondary, subordinate);
- printf ("\tmapping regs: io:%08lx mem:%08lx pmem:%08lx",
+ printf ("\tmapping regs: io:%08lx mem:%08lx pmem:%08lx\n",
pci_conf_read (tag, PCI_PCI_BRIDGE_IO_REG),
pci_conf_read (tag, PCI_PCI_BRIDGE_MEM_REG),
pci_conf_read (tag, PCI_PCI_BRIDGE_PMEM_REG));
OpenPOWER on IntegriCloud