aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip/xircom_cb.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-05-09 09:45:22 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-09 12:51:15 -0700
commit726b65ad444dd142e34d0087fcbba03d16b34ca6 (patch)
treeee4e56b9d7aea7dbb10ce0fe57706232f42d6b74 /drivers/net/tulip/xircom_cb.c
parenttulip: Convert printks to netdev_<level> (diff)
downloadlinux-dev-726b65ad444dd142e34d0087fcbba03d16b34ca6.tar.xz
linux-dev-726b65ad444dd142e34d0087fcbba03d16b34ca6.zip
tulip: Convert uses of KERN_DEBUG
Convert logging messages to more current styles. Added -DDEBUG to Makefile to maintain current message logging. This could be converted to a specific CONFIG_TULIP_DEBUG option. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip/xircom_cb.c')
-rw-r--r--drivers/net/tulip/xircom_cb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c
index 7e8287260c2f..988b8eb24d37 100644
--- a/drivers/net/tulip/xircom_cb.c
+++ b/drivers/net/tulip/xircom_cb.c
@@ -333,7 +333,7 @@ static irqreturn_t xircom_interrupt(int irq, void *dev_instance)
if (link_status_changed(card)) {
int newlink;
- printk(KERN_DEBUG "xircom_cb: Link status has changed\n");
+ netdev_dbg(dev, "Link status has changed\n");
newlink = link_status(card);
netdev_info(dev, "Link is %d mbit\n", newlink);
if (newlink)