Re: [BUG] 2.4.18-pre/rc broke PLIP

From: Stas Sergeev (stssppnn@yahoo.com)
Date: Wed Mar 06 2002 - 22:47:51 EST


Hello.

Tim Waugh wrote:
> Does 2.4.19-pre2 not work for you?

I had the similar problem with plip at 2.4.18
and 2.4.19-pre2 seems to fix it for me (though
I have seen a comments that it doesn't work for
others).
But I had another problem with plip for years,
which was not fixed by 2.4.19-pre2:
if I do `ifdown plip0` and then `ifup plip0`,
plip no longer works and the kernel logs timeouts,
just like in 2.4.18.
To work around the problem I removed "DISABLE(dev-irq);"
from plip_close(), and it works nice since.
So, if you are already on this, could you please
look at the attached "patch" and make a real fix
(if this is not the one already)?


--- linux/drivers/net/plip.c Sun Sep 30 23:26:07 2001
+++ linux/drivers/net/plip.c Thu Mar 7 02:47:43 2002
@@ -163,7 +163,7 @@
 static int plip_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
 static int plip_preempt(void *handle);
 static void plip_wakeup(void *handle);
-
+
 enum plip_connection_state {
         PLIP_CN_NONE=0,
         PLIP_CN_RECEIVE,
@@ -1177,7 +1177,6 @@
         struct plip_local *rcv = &nl->rcv_data;
 
         netif_stop_queue (dev);
- DISABLE(dev->irq);
         synchronize_irq();
 
         if (dev->irq == -1)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:59 EST