From owner-freebsd-hackers Tue Feb 2 11:35:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21846 for freebsd-hackers-outgoing; Tue, 2 Feb 1999 11:35:20 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA21827 for ; Tue, 2 Feb 1999 11:35:12 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id OAA02498; Tue, 2 Feb 1999 14:39:21 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Tue, 2 Feb 1999 14:39:21 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Emmanuel Duros cc: freebsd-hackers@FreeBSD.ORG Subject: Re: writing network device driver - pb with interrupt levels In-Reply-To: <199902021917.UAA01227@chouette.inria.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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