diff options
author | Manish chopra <Manish.Chopra@qlogic.com> | 2011-08-29 16:50:27 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-30 06:52:50 +0400 |
commit | df3cfbe30bcd8ddfbbac2d0893c53b6d048dd1f8 (patch) | |
tree | ebb5768b3f9dec42e5443337b7f08ffbd0d0b666 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c | |
parent | 44f65b290235a1b259eea1aa055b5b1be36d3c86 (diff) | |
download | linux-df3cfbe30bcd8ddfbbac2d0893c53b6d048dd1f8.tar.xz |
qlcnic: Change debug messages in loopback path
Added more debug messages while loopback test in progress
Signed-off-by: Manish chopra <Manish.Chopra@qlogic.com>
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c index 3b6741e4754d..b02859c7a23d 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c @@ -1779,14 +1779,14 @@ qlcnic_post_rx_buffers_nodb(struct qlcnic_adapter *adapter, spin_unlock(&rds_ring->lock); } -static void dump_skb(struct sk_buff *skb) +static void dump_skb(struct sk_buff *skb, struct qlcnic_adapter *adapter) { int i; unsigned char *data = skb->data; printk(KERN_INFO "\n"); for (i = 0; i < skb->len; i++) { - printk(KERN_INFO "%02x ", data[i]); + QLCDB(adapter, DRV, "%02x ", data[i]); if ((i & 0x0f) == 8) printk(KERN_INFO "\n"); } @@ -1829,7 +1829,7 @@ void qlcnic_process_rcv_diag(struct qlcnic_adapter *adapter, if (!qlcnic_check_loopback_buff(skb->data, adapter->mac_addr)) adapter->diag_cnt++; else - dump_skb(skb); + dump_skb(skb, adapter); dev_kfree_skb_any(skb); adapter->stats.rx_pkts++; |