summaryrefslogtreecommitdiffstats
path: root/drivers/net/tc35815.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-05-15 09:59:42 +0200
committerDavid S. Miller <davem@davemloft.net>2009-05-18 06:03:43 +0200
commit7290383191fa57d7f6320e27a03e5a8afee362fd (patch)
treeaf676f8d80024dadd18c30de9206674dcf6015fa /drivers/net/tc35815.c
parentsfc: Use generic XENPAK register definitions (diff)
downloadlinux-7290383191fa57d7f6320e27a03e5a8afee362fd.tar.xz
linux-7290383191fa57d7f6320e27a03e5a8afee362fd.zip
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.c13
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)
if (status_change && netif_msg_link(lp)) {
phy_print_status(phydev);
-#ifdef DEBUG
- printk(KERN_DEBUG
- "%s: MII BMCR %04x BMSR %04x LPA %04x\n",
- dev->name,
- phy_read(phydev, MII_BMCR),
- phy_read(phydev, MII_BMSR),
- phy_read(phydev, MII_LPA));
-#endif
+ pr_debug("%s: MII BMCR %04x BMSR %04x LPA %04x\n",
+ dev->name,
+ phy_read(phydev, MII_BMCR),
+ phy_read(phydev, MII_BMSR),
+ phy_read(phydev, MII_LPA));
}
}