diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-09-06 02:09:19 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-09-06 02:09:19 +0000 |
commit | cf7329ef2a79c45d2fd0312719e16fafb8360649 (patch) | |
tree | 35dec7ee3af175ee564f41c77aa6fc75c8c26fbf /sys/arch | |
parent | cf23170bf45f36b80f9f300b134ae61595b92820 (diff) |
If the bridge is an MPC106 (Grackle) print it's revision.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/powerpc/pci/mpcpcibus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/powerpc/pci/mpcpcibus.c b/sys/arch/powerpc/pci/mpcpcibus.c index 220b276d3b2..f1d796381e2 100644 --- a/sys/arch/powerpc/pci/mpcpcibus.c +++ b/sys/arch/powerpc/pci/mpcpcibus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpcpcibus.c,v 1.20 2000/08/08 17:11:27 deraadt Exp $ */ +/* $OpenBSD: mpcpcibus.c,v 1.21 2000/09/06 02:09:18 rahnds Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -216,9 +216,9 @@ 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 0x%x\n", 0); -#if 0 + printf(": MPC106, Revision 0x%x.\n", mpc_cfg_read_1(lcp, MPC106_PCI_REVID)); +#if 0 mpc_cfg_write_2(lcp, MPC106_PCI_STAT, 0xff80); /* Reset status */ #endif bridge = "MPC106"; |