提交 d0ed4864 编写于 作者: M Mark Brown 提交者: Jeff Garzik

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: NMark Brown <broonie@sirena.org.uk>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 5125ed91
...@@ -1756,7 +1756,7 @@ static void netdev_timer(unsigned long data) ...@@ -1756,7 +1756,7 @@ static void netdev_timer(unsigned long data)
if (dspcfg != np->dspcfg) { if (dspcfg != np->dspcfg) {
if (!netif_queue_stopped(dev)) { if (!netif_queue_stopped(dev)) {
spin_unlock_irq(&np->lock); spin_unlock_irq(&np->lock);
if (netif_msg_hw(np)) if (netif_msg_drv(np))
printk(KERN_NOTICE "%s: possible phy reset: " printk(KERN_NOTICE "%s: possible phy reset: "
"re-initializing\n", dev->name); "re-initializing\n", dev->name);
disable_irq(dev->irq); disable_irq(dev->irq);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册