Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe printf -> device_printf
details: https://anonhg.NetBSD.org/src/rev/1d5b672a12b0
branches: trunk
changeset: 1003213:1d5b672a12b0
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Sep 04 07:29:34 2019 +0000
description:
printf -> device_printf
diffstat:
sys/dev/pci/ixgbe/ix_txrx.c | 6 ++++--
sys/dev/pci/ixgbe/ixgbe.c | 5 +++--
sys/dev/pci/ixgbe/ixgbe_netbsd.c | 5 +++--
sys/dev/pci/ixgbe/ixv.c | 5 +++--
4 files changed, 13 insertions(+), 8 deletions(-)
diffs (77 lines):
diff -r 3fd2ddd18ab3 -r 1d5b672a12b0 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Wed Sep 04 07:07:09 2019 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Wed Sep 04 07:29:34 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.54 2019/07/04 08:56:35 msaitoh Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.55 2019/09/04 07:29:34 msaitoh Exp $ */
/******************************************************************************
@@ -1363,7 +1363,9 @@
error = bus_dmamap_load_mbuf(rxr->ptag->dt_dmat,
rxbuf->pmap, mp, BUS_DMA_NOWAIT);
if (error != 0) {
- printf("Refresh mbufs: payload dmamap load failure - %d\n", error);
+ device_printf(adapter->dev, "Refresh mbufs: "
+ "payload dmamap load failure - %d\n",
+ error);
m_free(mp);
rxbuf->buf = NULL;
goto update;
diff -r 3fd2ddd18ab3 -r 1d5b672a12b0 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Wed Sep 04 07:07:09 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Wed Sep 04 07:29:34 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.206 2019/08/29 09:45:22 knakahara Exp $ */
+/* $NetBSD: ixgbe.c,v 1.207 2019/09/04 07:29:34 msaitoh Exp $ */
/******************************************************************************
@@ -3306,7 +3306,8 @@
return rnode;
err:
- printf("%s: sysctl_createv failed, rc = %d\n", __func__, rc);
+ device_printf(adapter->dev,
+ "%s: sysctl_createv failed, rc = %d\n", __func__, rc);
return NULL;
}
diff -r 3fd2ddd18ab3 -r 1d5b672a12b0 sys/dev/pci/ixgbe/ixgbe_netbsd.c
--- a/sys/dev/pci/ixgbe/ixgbe_netbsd.c Wed Sep 04 07:07:09 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_netbsd.c Wed Sep 04 07:29:34 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_netbsd.c,v 1.9 2018/12/06 13:25:02 msaitoh Exp $ */
+/* $NetBSD: ixgbe_netbsd.c,v 1.10 2019/09/04 07:29:34 msaitoh Exp $ */
/*
* Copyright (c) 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -197,7 +197,8 @@
for (i = 0; i < nbuf; i++) {
if ((em = ixgbe_newext(eh, dmat, size)) == NULL) {
- printf("%s: only %d of %d jumbo buffers allocated\n",
+ device_printf(adapter->dev,
+ "%s: only %d of %d jumbo buffers allocated\n",
__func__, i, nbuf);
break;
}
diff -r 3fd2ddd18ab3 -r 1d5b672a12b0 sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c Wed Sep 04 07:07:09 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c Wed Sep 04 07:29:34 2019 +0000
@@ -1,4 +1,4 @@
-/*$NetBSD: ixv.c,v 1.128 2019/08/21 10:01:53 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.129 2019/09/04 07:29:34 msaitoh Exp $*/
/******************************************************************************
@@ -2406,7 +2406,8 @@
return rnode;
err:
- printf("%s: sysctl_createv failed, rc = %d\n", __func__, rc);
+ device_printf(adapter->dev,
+ "%s: sysctl_createv failed, rc = %d\n", __func__, rc);
return NULL;
}
Home |
Main Index |
Thread Index |
Old Index