Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart.
Evgeniy Polyakov <[email protected]> Mon, 22 Sep 2008 04:00:39 +0400
| Newsgroups | gmane.linux.kernel.wireless.general,gmane.linux.network,gmane.linux.kernel,gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Sep 22, 2008 at 01:27:47AM +0200, Marcel Holtmann (holtmann-VuQAYsv1563Yd54FQh9/[email protected]) wrote: > as Arjan and Alan pointed out already, WARN_ON_ONCE is enough and I > agree with them. Just to make this perfectly clear, this is with my > community hat on. > > Please send a proper patch with a simple WARN_ON_ONCE and I am happy to > sign off on it. I really do not care about if there is warning at all, I just want that bug to be fixed. And a we can see, something started to change, and that's probably a good sign. I glad there is a result. I will check d3 states tomorrow. Attached patch if you think it is yet needed. diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 19a401c..637dc05 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -3174,16 +3174,18 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) if (inta & IPW2100_INTA_FATAL_ERROR) { printk(KERN_WARNING DRV_NAME ": Fatal interrupt. Scheduling firmware restart.\n"); + priv->inta_other++; write_register(dev, IPW_REG_INTA, IPW2100_INTA_FATAL_ERROR); read_nic_dword(dev, IPW_NIC_FATAL_ERROR, &priv->fatal_error); - IPW_DEBUG_INFO("%s: Fatal error value: 0x%08X\n", - priv->net_dev->name, priv->fatal_error);