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 Remove a few noisy debug printf.
details: https://anonhg.NetBSD.org/src/rev/d04c00230152
branches: trunk
changeset: 326640:d04c00230152
user: njoly <njoly%NetBSD.org@localhost>
date: Sun Feb 09 12:27:37 2014 +0000
description:
Remove a few noisy debug printf.
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diffs (74 lines):
diff -r d9865474fe37 -r d04c00230152 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Sun Feb 09 01:46:10 2014 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Sun Feb 09 12:27:37 2014 +0000
@@ -59,7 +59,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/*$FreeBSD: src/sys/dev/ixgbe/ixgbe.c,v 1.51 2011/04/25 23:34:21 jfv Exp $*/
-/*$NetBSD: ixgbe.c,v 1.5 2012/06/18 06:21:11 dsl Exp $*/
+/*$NetBSD: ixgbe.c,v 1.6 2014/02/09 12:27:37 njoly Exp $*/
#include "opt_inet.h"
@@ -2551,8 +2551,6 @@
device_t dev = adapter->dev;
int rid, memrid;
- printf("%s: enter %s\n", device_xname(dev), __func__);
-
if (adapter->hw.mac.type == ixgbe_mac_82598EB)
memrid = PCI_BAR(MSIX_82598_BAR);
else
@@ -4115,8 +4113,6 @@
for (i = 0; i < adapter->num_queues; i++, rxr++) {
u64 rdba = rxr->rxdma.dma_paddr;
- printf("%s: queue %d rdba %" PRIx64 "\n", __func__, i, rdba);
-
/* Setup the Base and Length of the Rx Descriptor Ring */
IXGBE_WRITE_REG(hw, IXGBE_RDBAL(i),
(rdba & 0x00000000ffffffffULL));
@@ -4342,8 +4338,6 @@
rbuf = &rxr->rx_buffers[i];
- printf("%s: enter\n", __func__);
-
if (rbuf->fmp != NULL) {/* Partial chain ? */
rbuf->fmp->m_flags |= M_PKTHDR;
m_freem(rbuf->fmp);
@@ -4767,8 +4761,6 @@
struct ixgbe_hw *hw = &adapter->hw;
u32 ctrl;
- printf("%s: %s enter\n", device_xname(adapter->dev), __func__);
-
/*
** We get here thru init_locked, meaning
** a soft reset, this has already cleared
@@ -4776,7 +4768,6 @@
** have been no vlan's registered do nothing.
*/
if (!VLAN_ATTACHED(&adapter->osdep.ec)) {
- printf("%s: no VLANs attached\n", device_xname(adapter->dev));
return;
}
@@ -4794,8 +4785,6 @@
if (ec->ec_capenable & ETHERCAP_VLAN_HWFILTER) {
ctrl &= ~IXGBE_VLNCTRL_CFIEN;
ctrl |= IXGBE_VLNCTRL_VFE;
- printf("%s: enabled h/w VLAN filter\n",
- device_xname(adapter->dev));
}
if (hw->mac.type == ixgbe_mac_82598EB)
ctrl |= IXGBE_VLNCTRL_VME;
@@ -4807,8 +4796,6 @@
ctrl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(i));
ctrl |= IXGBE_RXDCTL_VME;
IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(i), ctrl);
- printf("%s: enabled VLAN queue %d\n",
- device_xname(adapter->dev), i);
}
}
Home |
Main Index |
Thread Index |
Old Index