Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Nov 1998 00:30:26 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Etienne de Bruin <Etienne.Debruin@KryptoKom.DE>
Cc:        freebsd-hackers@FreeBSD.ORG (Hackers FreeBSD), questions@FreeBSD.ORG
Subject:   Re: interrupt handler discrepancy 
Message-ID:  <199811050830.AAA00972@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 04 Nov 1998 14:11:36 %2B0100." <199811041311.OAA04022@borg.kryptokom.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811050830.AAA00972>