Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci print AGP mode (v3/v2compat/v2) with aprint_debu...



details:   https://anonhg.NetBSD.org/src/rev/0a421d2472c4
branches:  trunk
changeset: 762075:0a421d2472c4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Feb 15 08:56:11 2011 +0000

description:
print AGP mode (v3/v2compat/v2) with aprint_debug instead of aprint_normal

diffstat:

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

diffs (36 lines):

diff -r 1ba279db499c -r 0a421d2472c4 sys/dev/pci/agp_via.c
--- a/sys/dev/pci/agp_via.c     Tue Feb 15 08:25:25 2011 +0000
+++ b/sys/dev/pci/agp_via.c     Tue Feb 15 08:56:11 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp_via.c,v 1.19 2010/11/13 13:52:05 uebayasi Exp $    */
+/*     $NetBSD: agp_via.c,v 1.20 2011/02/15 08:56:11 jmcneill Exp $    */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_via.c,v 1.19 2010/11/13 13:52:05 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_via.c,v 1.20 2011/02/15 08:56:11 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -105,14 +105,14 @@
                agpsel = pci_conf_read(pa->pa_pc, pa->pa_tag, AGP_VIA_AGPSEL);
                if ((agpsel & (1 << 9)) == 0) {
                        asc->regs = via_v3_regs;
-                       aprint_normal(" (v3)");
+                       aprint_debug(" (v3)");
                } else {
                        asc->regs = via_v2_regs;
-                       aprint_normal(" (v2 compat mode)");
+                       aprint_debug(" (v2 compat mode)");
                }
        } else {
                asc->regs = via_v2_regs;
-               aprint_normal(" (v2)");
+               aprint_debug(" (v2)");
        }
 
        if (agp_map_aperture(pa, sc, AGP_APBASE) != 0) {



Home | Main Index | Thread Index | Old Index