diff options
author | Joe Perches <joe@perches.com> | 2011-05-09 05:45:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-09 15:51:15 -0400 |
commit | 726b65ad444dd142e34d0087fcbba03d16b34ca6 (patch) | |
tree | ee4e56b9d7aea7dbb10ce0fe57706232f42d6b74 /drivers/net/tulip/tulip.h | |
parent | 163ef0b5922b14751e93218bdf2c9fe8f74b9c9d (diff) |
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/tulip.h')
-rw-r--r-- | drivers/net/tulip/tulip.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/tulip/tulip.h b/drivers/net/tulip/tulip.h index ed66a16711dc..9db528967da9 100644 --- a/drivers/net/tulip/tulip.h +++ b/drivers/net/tulip/tulip.h | |||
@@ -547,11 +547,9 @@ static inline void tulip_stop_rxtx(struct tulip_private *tp) | |||
547 | udelay(10); | 547 | udelay(10); |
548 | 548 | ||
549 | if (!i) | 549 | if (!i) |
550 | printk(KERN_DEBUG "%s: tulip_stop_rxtx() failed" | 550 | netdev_dbg(tp->dev, "tulip_stop_rxtx() failed (CSR5 0x%x CSR6 0x%x)\n", |
551 | " (CSR5 0x%x CSR6 0x%x)\n", | 551 | ioread32(ioaddr + CSR5), |
552 | pci_name(tp->pdev), | 552 | ioread32(ioaddr + CSR6)); |
553 | ioread32(ioaddr + CSR5), | ||
554 | ioread32(ioaddr + CSR6)); | ||
555 | } | 553 | } |
556 | } | 554 | } |
557 | 555 | ||