Skip to content

Commit

Permalink
natsemi: Improve diagnostics for DspCfg workaround
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
broonie authored and Jeff Garzik committed May 8, 2007
1 parent 5125ed9 commit d0ed486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/natsemi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1756,7 +1756,7 @@ static void netdev_timer(unsigned long data)
if (dspcfg != np->dspcfg) {
if (!netif_queue_stopped(dev)) {
spin_unlock_irq(&np->lock);
if (netif_msg_hw(np))
if (netif_msg_drv(np))
printk(KERN_NOTICE "%s: possible phy reset: "
"re-initializing\n", dev->name);
disable_irq(dev->irq);
Expand Down

0 comments on commit d0ed486

Please sign in to comment.