summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-11-26 15:44:21 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-11-26 15:44:21 +0000
commit2fba5cd1e81583e016d9aded1c3abb1cfc50959b (patch)
tree135edbcdae04872e8c0752ef4a1f76f2ace0d370 /sys
parentec277a034fe1cd4ea2cb60060b78320fb3e49c0b (diff)
On wqe error, show also word2 and word3. Those might help in debugging.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/octeon/dev/if_cnmac.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/octeon/dev/if_cnmac.c b/sys/arch/octeon/dev/if_cnmac.c
index e4b34219ca6..80adf0dfafb 100644
--- a/sys/arch/octeon/dev/if_cnmac.c
+++ b/sys/arch/octeon/dev/if_cnmac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cnmac.c,v 1.72 2017/11/26 15:39:47 visa Exp $ */
+/* $OpenBSD: if_cnmac.c,v 1.73 2017/11/26 15:44:20 visa Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -1304,6 +1304,8 @@ cnmac_intr(void *arg)
wqe_error:
printf("word0: 0x%016llx\n", work[0]);
printf("word1: 0x%016llx\n", work[1]);
+ printf("word2: 0x%016llx\n", work[2]);
+ printf("word3: 0x%016llx\n", work[3]);
panic("wqe error");
}