summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/pci/mpcpcibus.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-08 17:11:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-08 17:11:28 +0000
commit8ff180700f66e734dd1931b3ee8172a664df89f3 (patch)
treee2618466337f3c1dae3dcb32535acc6cc2c85d12 /sys/arch/powerpc/pci/mpcpcibus.c
parent777422342a4ecc578cadfbba133a292e33809f05 (diff)
pretty print
Diffstat (limited to 'sys/arch/powerpc/pci/mpcpcibus.c')
-rw-r--r--sys/arch/powerpc/pci/mpcpcibus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/powerpc/pci/mpcpcibus.c b/sys/arch/powerpc/pci/mpcpcibus.c
index 0e645c67e4e..220b276d3b2 100644
--- a/sys/arch/powerpc/pci/mpcpcibus.c
+++ b/sys/arch/powerpc/pci/mpcpcibus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpcpcibus.c,v 1.19 2000/07/28 13:06:15 rahnds Exp $ */
+/* $OpenBSD: mpcpcibus.c,v 1.20 2000/08/08 17:11:27 deraadt Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -216,7 +216,7 @@ mpcpcibrattach(parent, self, aux)
lcp->lc_pc.pc_intr_establish = mpc_intr_establish;
lcp->lc_pc.pc_intr_disestablish = mpc_intr_disestablish;
- printf(": MPC106, Revision %x.\n", 0);
+ printf(": MPC106, Revision 0x%x\n", 0);
#if 0
mpc_cfg_read_1(lcp, MPC106_PCI_REVID));
mpc_cfg_write_2(lcp, MPC106_PCI_STAT, 0xff80); /* Reset status */
@@ -314,7 +314,7 @@ mpcpcibrattach(parent, self, aux)
lcp->lc_pc.pc_intr_disestablish = mpc_intr_disestablish;
- printf(": %s, Revision %x. ", bridge,
+ printf(": %s, Revision 0x%x, ", bridge,
mpc_cfg_read_1(lcp, MPC106_PCI_REVID));
if (map == 1) {
printf("Using Map A\n");
@@ -492,7 +492,7 @@ mpcpcibrattach(parent, self, aux)
lcp->lc_pc.pc_intr_establish = mpc_intr_establish;
lcp->lc_pc.pc_intr_disestablish = mpc_intr_disestablish;
- printf(": %s, Revision %x. ", compat,
+ printf(": %s, Revision 0x%x\n", compat,
mpc_cfg_read_1(lcp, MPC106_PCI_REVID));
}
break;