From e66a4e401d89b85cb0fc29989a7e54fb0b510383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Fri, 19 Jan 1996 19:01:19 +0000 Subject: [PATCH] Improve PCI probe messages by printing the bus number. Add missing newline to PCI to PCI bridge message. Submitted by: Matt Thomas --- sys/dev/pci/pci.c | 6 +++--- sys/pci/pci.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 2b36f8fb0caa..c1b6873214aa 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/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)); diff --git a/sys/pci/pci.c b/sys/pci/pci.c index 2b36f8fb0caa..c1b6873214aa 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));