mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 22:00:53 +07:00
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>
This commit is contained in:
parent
5125ed914d
commit
d0ed48640e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user