Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci support new quirk bits on debug output



details:   https://anonhg.NetBSD.org/src/rev/40f781a789c2
branches:  trunk
changeset: 550701:40f781a789c2
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Aug 18 05:39:07 2003 +0000

description:
support new quirk bits on debug output

diffstat:

 sys/dev/pci/pci.c |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 093031d1530f -r 40f781a789c2 sys/dev/pci/pci.c
--- a/sys/dev/pci/pci.c Mon Aug 18 02:36:17 2003 +0000
+++ b/sys/dev/pci/pci.c Mon Aug 18 05:39:07 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci.c,v 1.81 2003/08/15 07:17:21 itojun Exp $  */
+/*     $NetBSD: pci.c,v 1.82 2003/08/18 05:39:07 itojun Exp $  */
 
 /*
  * Copyright (c) 1995, 1996, 1997, 1998
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci.c,v 1.81 2003/08/15 07:17:21 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci.c,v 1.82 2003/08/18 05:39:07 itojun Exp $");
 
 #include "opt_pci.h"
 
@@ -226,7 +226,11 @@
                        printf(" no quirks");
                } else {
                        bitmask_snprintf(qd->quirks,
-                           "\20\1multifn", devinfo, sizeof (devinfo));
+                           "\002\001multifn\002singlefn\003skipfunc0"
+                           "\004skipfunc1\005skipfunc2\006skipfunc3"
+                           "\007skipfunc4\010skipfunc5\011skipfunc6"
+                           "\012skipfunc8",
+                           devinfo, sizeof (devinfo));
                        printf(" quirks %s", devinfo);
                }
                printf(")");



Home | Main Index | Thread Index | Old Index