diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-12 08:40:03 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-12 08:40:03 +0000 |
commit | 7c11e657289baefc92d8b7b77f22372f7f04e136 (patch) | |
tree | d120c57e3eb3827fa65a6dc57f06f3fd25c33950 /sys/arch | |
parent | b6a497c5be78997579d44a6faf6d996fecaed3e4 (diff) |
Also print the error registers in the ddb callback.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/xbow/xbridge.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/sgi/xbow/xbridge.c b/sys/arch/sgi/xbow/xbridge.c index bf9eca4b62b..046e34a56f4 100644 --- a/sys/arch/sgi/xbow/xbridge.c +++ b/sys/arch/sgi/xbow/xbridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xbridge.c,v 1.97 2015/09/08 10:21:50 deraadt Exp $ */ +/* $OpenBSD: xbridge.c,v 1.98 2015/09/12 08:40:02 miod Exp $ */ /* * Copyright (c) 2008, 2009, 2011 Miodrag Vallat. @@ -3570,6 +3570,12 @@ xbridge_ddb() printf("IRQ%u to %p\n", intrbit, (void *)xbridge_read_reg(xb, BRIDGE_INT_ADDR(intrbit))); + + printf("%s: PCICFG %08llx ERR %08llx:%08llx\n", + xb->xb_dev.dv_xname, + xbridge_read_reg(xb, BRIDGE_PCI_CFG), + xbridge_read_reg(xb, BRIDGE_PCI_ERR_UPPER), + xbridge_read_reg(xb, BRIDGE_PCI_ERR_LOWER)); } } #endif |