Re: ne: Tx request while isr active

Snow Cat (snowcat@netgate.net)
Sun, 30 Mar 1997 18:44:15 -0800 (PST)


Paul Gortmaker once wrote:
>
> > My attempts to patch drivers/net/8390 were not very successful so far.
> > Could anyone explain what this message means and how I might attempt to
> > work around the problem?
>
> It is not an 8390 problem, but rather a kernel problem. Apply this
> patch and it should go away.
>
> Paul.
> ---------------------------------------------
>
> --- arch/i386/kernel/irq.c.orig Fri Mar 28 15:04:11 1997
> +++ arch/i386/kernel/irq.c Fri Mar 28 15:18:43 1997
> @@ -485,8 +485,8 @@
>
> #else
>
> -#define irq_enter(cpu, irq) do { } while (0)
> -#define irq_exit(cpu, irq) do { } while (0)
> +#define irq_enter(cpu, irq) atomic_inc(&intr_count)
> +#define irq_exit(cpu, irq) atomic_dec(&intr_count)
>
> #endif
>

Thanks, this was an amazingly quick reply! Since I am now trying to
prepare a machine for use by non-professionals, I think I'll go back
to 2.0.29 (There are other small problems like SO_SNDBUF limits and
sound+floppy failures to allocate DMA buffers that might confuse
expected users)

--
 _.    	        _       .  
(_ ,_  _ ,  .  / ` _ _L	 | Email: Oleg Kibirev <snowcat@netgate.net>
._)| U(_)\/\/  \_,(_L/L  | http://ng.netgate.net/~snowcat/
------------------------'