diff options
author | Joe Perches <joe@perches.com> | 2011-06-26 15:01:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-27 03:09:46 -0400 |
commit | 12a3bfefc8c1e43ddb50950cb74f8a11d680567a (patch) | |
tree | ff974d28811618a51ab8dcbef1588a1022cb9c74 /drivers/net/wan/hd64570.c | |
parent | 2903dd654d8788425a9523959b02933ea6555229 (diff) |
generic_hdlc: Update to current logging forms
Use pr_fmt, pr_<level> and netdev_<level> as appropriate.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/hd64570.c')
-rw-r--r-- | drivers/net/wan/hd64570.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wan/hd64570.c b/drivers/net/wan/hd64570.c index a3ea27ce04f2..33b67d88fceb 100644 --- a/drivers/net/wan/hd64570.c +++ b/drivers/net/wan/hd64570.c | |||
@@ -582,8 +582,8 @@ static void sca_dump_rings(struct net_device *dev) | |||
582 | sca_in(DSR_RX(phy_node(port)), card), port->rxin, | 582 | sca_in(DSR_RX(phy_node(port)), card), port->rxin, |
583 | sca_in(DSR_RX(phy_node(port)), card) & DSR_DE ? "" : "in"); | 583 | sca_in(DSR_RX(phy_node(port)), card) & DSR_DE ? "" : "in"); |
584 | for (cnt = 0; cnt < port_to_card(port)->rx_ring_buffers; cnt++) | 584 | for (cnt = 0; cnt < port_to_card(port)->rx_ring_buffers; cnt++) |
585 | printk(" %02X", readb(&(desc_address(port, cnt, 0)->stat))); | 585 | pr_cont(" %02X", readb(&(desc_address(port, cnt, 0)->stat))); |
586 | printk(KERN_CONT "\n"); | 586 | pr_cont("\n"); |
587 | 587 | ||
588 | printk(KERN_DEBUG "TX ring: CDA=%u EDA=%u DSR=%02X in=%u " | 588 | printk(KERN_DEBUG "TX ring: CDA=%u EDA=%u DSR=%02X in=%u " |
589 | "last=%u %sactive", | 589 | "last=%u %sactive", |
@@ -593,8 +593,8 @@ static void sca_dump_rings(struct net_device *dev) | |||
593 | sca_in(DSR_TX(phy_node(port)), card) & DSR_DE ? "" : "in"); | 593 | sca_in(DSR_TX(phy_node(port)), card) & DSR_DE ? "" : "in"); |
594 | 594 | ||
595 | for (cnt = 0; cnt < port_to_card(port)->tx_ring_buffers; cnt++) | 595 | for (cnt = 0; cnt < port_to_card(port)->tx_ring_buffers; cnt++) |
596 | printk(" %02X", readb(&(desc_address(port, cnt, 1)->stat))); | 596 | pr_cont(" %02X", readb(&(desc_address(port, cnt, 1)->stat))); |
597 | printk("\n"); | 597 | pr_cont("\n"); |
598 | 598 | ||
599 | printk(KERN_DEBUG "MSCI: MD: %02x %02x %02x, ST: %02x %02x %02x %02x," | 599 | printk(KERN_DEBUG "MSCI: MD: %02x %02x %02x, ST: %02x %02x %02x %02x," |
600 | " FST: %02x CST: %02x %02x\n", | 600 | " FST: %02x CST: %02x %02x\n", |