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>
This commit is contained in:
Stefan Eßer 1996-01-19 19:01:19 +00:00
parent 1a46737f84
commit e66a4e401d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13496
2 changed files with 6 additions and 6 deletions

View File

@ -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));

View File

@ -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));