lkml.org 
[lkml]   [1997]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ne: Tx request while isr active
Date
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/
------------------------'

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.051 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site