diff options
author | Joe Perches <joe@perches.com> | 2009-05-15 03:59:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-18 00:03:43 -0400 |
commit | 7290383191fa57d7f6320e27a03e5a8afee362fd (patch) | |
tree | af676f8d80024dadd18c30de9206674dcf6015fa /drivers/net/tc35815.c | |
parent | 6bc5046e6df7d7122631c82ccaa6edf7085331ac (diff) |
drivers/net: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug(
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tc35815.c')
-rw-r--r-- | drivers/net/tc35815.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c index 0ce2db6ce2bf..d737f6b8f876 100644 --- a/drivers/net/tc35815.c +++ b/drivers/net/tc35815.c | |||
@@ -688,14 +688,11 @@ static void tc_handle_link_change(struct net_device *dev) | |||
688 | 688 | ||
689 | if (status_change && netif_msg_link(lp)) { | 689 | if (status_change && netif_msg_link(lp)) { |
690 | phy_print_status(phydev); | 690 | phy_print_status(phydev); |
691 | #ifdef DEBUG | 691 | pr_debug("%s: MII BMCR %04x BMSR %04x LPA %04x\n", |
692 | printk(KERN_DEBUG | 692 | dev->name, |
693 | "%s: MII BMCR %04x BMSR %04x LPA %04x\n", | 693 | phy_read(phydev, MII_BMCR), |
694 | dev->name, | 694 | phy_read(phydev, MII_BMSR), |
695 | phy_read(phydev, MII_BMCR), | 695 | phy_read(phydev, MII_LPA)); |
696 | phy_read(phydev, MII_BMSR), | ||
697 | phy_read(phydev, MII_LPA)); | ||
698 | #endif | ||
699 | } | 696 | } |
700 | } | 697 | } |
701 | 698 | ||