aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/natsemi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@sirena.org.uk>2007-05-03 05:36:50 -0400
committerJeff Garzik <jeff@garzik.org>2007-05-08 01:15:35 -0400
commitd0ed48640e746a5537d0e7c49d5029949b15ee88 (patch)
tree7563c8b75b0c6c5cd628b35d68c64aff797b444d /drivers/net/natsemi.c
parent5125ed914d238cf22783038393ea1e75bc470925 (diff)
natsemi: Improve diagnostics for DspCfg workaround
The natsemi driver has a workaround for broken hardware which resets itself from time to time. There is a diagnostic message for this workaround but it is not printed by default, making the driver behavior more obscure than it needs to be. Make the message be displayed by default. Signed-Off-By: Mark Brown <broonie@sirena.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/natsemi.c')
-rw-r--r--drivers/net/natsemi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c
index a8d7ff2c96ac..109e80252488 100644
--- a/drivers/net/natsemi.c
+++ b/drivers/net/natsemi.c
@@ -1756,7 +1756,7 @@ static void netdev_timer(unsigned long data)
1756 if (dspcfg != np->dspcfg) { 1756 if (dspcfg != np->dspcfg) {
1757 if (!netif_queue_stopped(dev)) { 1757 if (!netif_queue_stopped(dev)) {
1758 spin_unlock_irq(&np->lock); 1758 spin_unlock_irq(&np->lock);
1759 if (netif_msg_hw(np)) 1759 if (netif_msg_drv(np))
1760 printk(KERN_NOTICE "%s: possible phy reset: " 1760 printk(KERN_NOTICE "%s: possible phy reset: "
1761 "re-initializing\n", dev->name); 1761 "re-initializing\n", dev->name);
1762 disable_irq(dev->irq); 1762 disable_irq(dev->irq);