Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Display code number of unhandled packet.



details:   https://anonhg.NetBSD.org/src/rev/aaa41c1fc148
branches:  trunk
changeset: 336301:aaa41c1fc148
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Wed Feb 25 12:41:15 2015 +0000

description:
Display code number of unhandled packet.

diffstat:

 sys/dev/pci/if_iwm.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r e3fd9a6cfb46 -r aaa41c1fc148 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Wed Feb 25 09:01:08 2015 +0000
+++ b/sys/dev/pci/if_iwm.c      Wed Feb 25 12:41:15 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iwm.c,v 1.14 2015/02/24 12:57:58 christos Exp $     */
+/*     $NetBSD: if_iwm.c,v 1.15 2015/02/25 12:41:15 nonaka Exp $       */
 /*     OpenBSD: if_iwm.c,v 1.18 2015/02/11 01:12:42 brad Exp   */
 
 /*
@@ -105,7 +105,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.14 2015/02/24 12:57:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.15 2015/02/25 12:41:15 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -6296,8 +6296,9 @@
 
                default:
                        aprint_error_dev(sc->sc_dev,
-                           "frame %d/%d %x UNHANDLED (this should "
-                           "not happen)\n", qid, idx, pkt->len_n_flags);
+                           "code %02x frame %d/%d %x UNHANDLED "
+                           "(this should not happen)\n",
+                           pkt->hdr.code, qid, idx, pkt->len_n_flags);
                        break;
                }
 



Home | Main Index | Thread Index | Old Index