diff options
author | 2017-11-26 15:44:20 +0000 | |
---|---|---|
committer | 2017-11-26 15:44:20 +0000 | |
commit | 90bc08a7fe7d010ffc3793e1141eda1bf67553b6 (patch) | |
tree | 210f3887e8f2600644ce617b92dd52d447eaadcc | |
parent | Initialize Rx subsystems before enabling the processing of incoming (diff) | |
download | wireguard-openbsd-90bc08a7fe7d010ffc3793e1141eda1bf67553b6.tar.xz wireguard-openbsd-90bc08a7fe7d010ffc3793e1141eda1bf67553b6.zip |
On wqe error, show also word2 and word3. Those might help in debugging.
-rw-r--r-- | sys/arch/octeon/dev/if_cnmac.c | 4 |
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"); } |