From owner-freebsd-questions  Thu Nov  5 00:31:11 1998
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id AAA04552
          for freebsd-questions-outgoing; Thu, 5 Nov 1998 00:31:11 -0800 (PST)
          (envelope-from owner-freebsd-questions@FreeBSD.ORG)
Received: from dingo.cdrom.com (castles186.castles.com [208.214.165.186])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA04544;
          Thu, 5 Nov 1998 00:31:09 -0800 (PST)
          (envelope-from mike@dingo.cdrom.com)
Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1])
	by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id AAA00972;
	Thu, 5 Nov 1998 00:30:27 -0800 (PST)
	(envelope-from mike@dingo.cdrom.com)
Message-Id: <199811050830.AAA00972@dingo.cdrom.com>
X-Mailer: exmh version 2.0.2 2/24/98
To: Etienne de Bruin <Etienne.Debruin@KryptoKom.DE>
cc: freebsd-hackers@FreeBSD.ORG (Hackers FreeBSD), questions@FreeBSD.ORG
Subject: Re: interrupt handler discrepancy 
In-reply-to: Your message of "Wed, 04 Nov 1998 14:11:36 +0100."
             <199811041311.OAA04022@borg.kryptokom.de> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 05 Nov 1998 00:30:26 -0800
From: Mike Smith <mike@smith.net.au>
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

> i install my interrupt handler using pci_map_int().
> 
> when using ioctl call to my pci device driver and issuing an interrupt, 
> the interupt handler gets
> called - no problem.  my crypt device driver gets called from user space
> in this case.
> 
> but when using my crypt card together with two network interfaces, when
> i issue an interrupt, my _intr function does not get called for some 
> reason.  my crypt device driver gets called from within the kernel in this
> case.
> 
> all i can think is that for some reasons the network cards do splxxx()
> to such an extent that my interupt handler never gets a chance .. is this
> possible?

No.  It's possible that your test is not seeing that your interrrupt is 
being called, but shared interrupts are known to work (albeit 
inefficiently).

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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