mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 21:18:59 +00:00
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:
parent
1a46737f84
commit
e66a4e401d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13496
@ -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.
|
** General subroutines for the PCI bus.
|
||||||
** pci_configure ()
|
** pci_configure ()
|
||||||
@ -365,7 +365,7 @@ pci_bus_config (void)
|
|||||||
*/
|
*/
|
||||||
pci_bridge_config ();
|
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
|
#ifndef PCI_QUIET
|
||||||
if (bootverbose && !pci_info_done) {
|
if (bootverbose && !pci_info_done) {
|
||||||
pci_info_done=1;
|
pci_info_done=1;
|
||||||
@ -604,7 +604,7 @@ pci_bus_config (void)
|
|||||||
if (bootverbose) {
|
if (bootverbose) {
|
||||||
printf ("\tbridge from pci%d to pci%d through %d.\n",
|
printf ("\tbridge from pci%d to pci%d through %d.\n",
|
||||||
primary, secondary, subordinate);
|
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_IO_REG),
|
||||||
pci_conf_read (tag, PCI_PCI_BRIDGE_MEM_REG),
|
pci_conf_read (tag, PCI_PCI_BRIDGE_MEM_REG),
|
||||||
pci_conf_read (tag, PCI_PCI_BRIDGE_PMEM_REG));
|
pci_conf_read (tag, PCI_PCI_BRIDGE_PMEM_REG));
|
||||||
|
@ -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.
|
** General subroutines for the PCI bus.
|
||||||
** pci_configure ()
|
** pci_configure ()
|
||||||
@ -365,7 +365,7 @@ pci_bus_config (void)
|
|||||||
*/
|
*/
|
||||||
pci_bridge_config ();
|
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
|
#ifndef PCI_QUIET
|
||||||
if (bootverbose && !pci_info_done) {
|
if (bootverbose && !pci_info_done) {
|
||||||
pci_info_done=1;
|
pci_info_done=1;
|
||||||
@ -604,7 +604,7 @@ pci_bus_config (void)
|
|||||||
if (bootverbose) {
|
if (bootverbose) {
|
||||||
printf ("\tbridge from pci%d to pci%d through %d.\n",
|
printf ("\tbridge from pci%d to pci%d through %d.\n",
|
||||||
primary, secondary, subordinate);
|
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_IO_REG),
|
||||||
pci_conf_read (tag, PCI_PCI_BRIDGE_MEM_REG),
|
pci_conf_read (tag, PCI_PCI_BRIDGE_MEM_REG),
|
||||||
pci_conf_read (tag, PCI_PCI_BRIDGE_PMEM_REG));
|
pci_conf_read (tag, PCI_PCI_BRIDGE_PMEM_REG));
|
||||||
|
Loading…
Reference in New Issue
Block a user