Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Use aprint_verbose_dev.
details: https://anonhg.NetBSD.org/src/rev/8251d7509326
branches: trunk
changeset: 760455:8251d7509326
user: sketch <sketch%NetBSD.org@localhost>
date: Wed Jan 05 14:55:10 2011 +0000
description:
Use aprint_verbose_dev.
diffstat:
sys/dev/pci/if_bge.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c15e868d66c4 -r 8251d7509326 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c Wed Jan 05 14:43:40 2011 +0000
+++ b/sys/dev/pci/if_bge.c Wed Jan 05 14:55:10 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.188 2010/11/13 13:52:06 uebayasi Exp $ */
+/* $NetBSD: if_bge.c,v 1.189 2011/01/05 14:55:10 sketch Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.188 2010/11/13 13:52:06 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.189 2011/01/05 14:55:10 sketch Exp $");
#include "vlan.h"
#include "rnd.h"
@@ -754,7 +754,8 @@
+ PCI_PCIE_DCSR);
if ((val & PCI_PCIE_DCSR_MAX_READ_REQ) !=
BGE_PCIE_DEVCTL_MAX_READRQ_4096) {
- aprint_verbose("adjust device control 0x%04x ", val);
+ aprint_verbose_dev(sc->bge_dev,
+ "adjust device control 0x%04x ", val);
val &= ~PCI_PCIE_DCSR_MAX_READ_REQ;
val |= BGE_PCIE_DEVCTL_MAX_READRQ_4096;
pci_conf_write(sc->sc_pc, sc->sc_pcitag, sc->bge_pciecap
Home |
Main Index |
Thread Index |
Old Index