Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 1999 14:39:21 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        Emmanuel Duros <Emmanuel.Duros@sophia.inria.fr>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: writing network device driver - pb with interrupt levels
Message-ID:  <Pine.BSF.4.05.9902021437380.535-100000@bright.fx.genx.net>
In-Reply-To: <199902021917.UAA01227@chouette.inria.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 2 Feb 1999, Emmanuel Duros wrote:

> 
> Hi,
> 
> I am writing a driver for a network card and I have a pb with interrupt
> levels.
> 
> Basically, when I read data from the card it works fine as long as I do
> not intensively read from/write to the hard drive.
> 
> This code works fine when there is no read/write on my IDE hard drive.

what are your IDE flags?

try this:

controller wdc0 at isa? port "IO_WD2" bio irq 15 flags 0xe0ffe0ff vector
controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0xe0ffe0ff vector

-------------------------------------------------------^^^^^^^^^^

it may fix your starvation issue.

Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com
-- There are operating systems, and then there's FreeBSD.
-- http://www.freebsd.org/                        4.0-current


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9902021437380.535-100000>