aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/sge.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-02-22 11:56:57 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-26 04:38:34 -0500
commitc1f51212eb809849bdc68a856ae5f424dcf20d9b (patch)
tree2a01f9e5201d3fc40527c24961b0f888f9e0ed61 /drivers/net/chelsio/sge.c
parent003bdb279bb6b212f25ea4e60e0164b6109d3704 (diff)
drivers/net/chelsio: Use pr_<level>, netif_msg_<type>
Convert CH_<level> and CH_DBG uses to pr_<level> and netif equivalents Remove CH_<level> and CH_DBG macro definitions Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/chelsio/sge.c')
-rw-r--r--drivers/net/chelsio/sge.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c
index 8e12505ac3aa..71384114a4ed 100644
--- a/drivers/net/chelsio/sge.c
+++ b/drivers/net/chelsio/sge.c
@@ -953,7 +953,7 @@ int t1_sge_intr_error_handler(struct sge *sge)
953 sge->stats.respQ_empty++; 953 sge->stats.respQ_empty++;
954 if (cause & F_RESPQ_OVERFLOW) { 954 if (cause & F_RESPQ_OVERFLOW) {
955 sge->stats.respQ_overflow++; 955 sge->stats.respQ_overflow++;
956 CH_ALERT("%s: SGE response queue overflow\n", 956 pr_alert("%s: SGE response queue overflow\n",
957 adapter->name); 957 adapter->name);
958 } 958 }
959 if (cause & F_FL_EXHAUSTED) { 959 if (cause & F_FL_EXHAUSTED) {
@@ -962,12 +962,12 @@ int t1_sge_intr_error_handler(struct sge *sge)
962 } 962 }
963 if (cause & F_PACKET_TOO_BIG) { 963 if (cause & F_PACKET_TOO_BIG) {
964 sge->stats.pkt_too_big++; 964 sge->stats.pkt_too_big++;
965 CH_ALERT("%s: SGE max packet size exceeded\n", 965 pr_alert("%s: SGE max packet size exceeded\n",
966 adapter->name); 966 adapter->name);
967 } 967 }
968 if (cause & F_PACKET_MISMATCH) { 968 if (cause & F_PACKET_MISMATCH) {
969 sge->stats.pkt_mismatch++; 969 sge->stats.pkt_mismatch++;
970 CH_ALERT("%s: SGE packet mismatch\n", adapter->name); 970 pr_alert("%s: SGE packet mismatch\n", adapter->name);
971 } 971 }
972 if (cause & SGE_INT_FATAL) 972 if (cause & SGE_INT_FATAL)
973 t1_fatal_err(adapter); 973 t1_fatal_err(adapter);
@@ -1101,7 +1101,7 @@ static void unexpected_offload(struct adapter *adapter, struct freelQ *fl)
1101 1101
1102 pci_dma_sync_single_for_cpu(adapter->pdev, pci_unmap_addr(ce, dma_addr), 1102 pci_dma_sync_single_for_cpu(adapter->pdev, pci_unmap_addr(ce, dma_addr),
1103 pci_unmap_len(ce, dma_len), PCI_DMA_FROMDEVICE); 1103 pci_unmap_len(ce, dma_len), PCI_DMA_FROMDEVICE);
1104 CH_ERR("%s: unexpected offload packet, cmd %u\n", 1104 pr_err("%s: unexpected offload packet, cmd %u\n",
1105 adapter->name, *skb->data); 1105 adapter->name, *skb->data);
1106 recycle_fl_buf(fl, fl->cidx); 1106 recycle_fl_buf(fl, fl->cidx);
1107} 1107}
@@ -1687,7 +1687,7 @@ static int t1_sge_tx(struct sk_buff *skb, struct adapter *adapter,
1687 netif_stop_queue(dev); 1687 netif_stop_queue(dev);
1688 set_bit(dev->if_port, &sge->stopped_tx_queues); 1688 set_bit(dev->if_port, &sge->stopped_tx_queues);
1689 sge->stats.cmdQ_full[2]++; 1689 sge->stats.cmdQ_full[2]++;
1690 CH_ERR("%s: Tx ring full while queue awake!\n", 1690 pr_err("%s: Tx ring full while queue awake!\n",
1691 adapter->name); 1691 adapter->name);
1692 } 1692 }
1693 spin_unlock(&q->lock); 1693 spin_unlock(&q->lock);