diff options
author | jfv <jfv@FreeBSD.org> | 2008-03-01 08:23:35 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2008-03-01 08:23:35 +0000 |
commit | 2a54dcf3f7ed852b46cd6988d2dcd88e2419a5de (patch) | |
tree | 6941fa7116e2b9c1e140398e7499beeaf57247bd /sys | |
parent | 722ea4cc32043eb09088550c5b70fac50f1bb91b (diff) | |
download | FreeBSD-src-2a54dcf3f7ed852b46cd6988d2dcd88e2419a5de.zip FreeBSD-src-2a54dcf3f7ed852b46cd6988d2dcd88e2419a5de.tar.gz |
Change data formating in debug code.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/igb/if_igb.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/igb/if_igb.c b/sys/dev/igb/if_igb.c index 581a20b..1f878bf 100644 --- a/sys/dev/igb/if_igb.c +++ b/sys/dev/igb/if_igb.c @@ -4207,24 +4207,24 @@ igb_print_debug_info(struct adapter *adapter) device_printf(dev, "Queue(%d) tdh = %d, tdt = %d\n", i, E1000_READ_REG(&adapter->hw, E1000_TDH(i)), E1000_READ_REG(&adapter->hw, E1000_TDT(i))); - device_printf(dev, "no descriptors avail event = %lu\n", - txr->no_desc_avail); - device_printf(dev, "TX(%d) IRQ Handled = %lu\n", txr->me, - txr->tx_irq); - device_printf(dev, "TX(%d) Packets sent = %lu\n", txr->me, - txr->tx_packets); + device_printf(dev, "no descriptors avail event = %lld\n", + (long long)txr->no_desc_avail); + device_printf(dev, "TX(%d) IRQ Handled = %lld\n", txr->me, + (long long)txr->tx_irq); + device_printf(dev, "TX(%d) Packets sent = %lld\n", txr->me, + (long long)txr->tx_packets); } for (int i = 0; i < adapter->num_rx_queues; i++, rxr++) { device_printf(dev, "Queue(%d) rdh = %d, rdt = %d\n", i, E1000_READ_REG(&adapter->hw, E1000_RDH(i)), E1000_READ_REG(&adapter->hw, E1000_RDT(i))); - device_printf(dev, "RX(%d) Packets received = %lu\n", rxr->me, - rxr->rx_packets); - device_printf(dev, "RX(%d) Byte count = %lu\n", rxr->me, - rxr->rx_bytes); - device_printf(dev, "RX(%d) IRQ Handled = %lu\n", rxr->me, - rxr->rx_irq); + device_printf(dev, "RX(%d) Packets received = %lld\n", rxr->me, + (long long)rxr->rx_packets); + device_printf(dev, "RX(%d) Byte count = %lld\n", rxr->me, + (long long)rxr->rx_bytes); + device_printf(dev, "RX(%d) IRQ Handled = %lld\n", rxr->me, + (long long)rxr->rx_irq); } device_printf(dev, "LINK IRQ Handled = %u\n", adapter->link_irq); |