Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 1999 17:04:36 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        "Alex" <al.feldman@sangoma.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Interrupt handler for PCI 
Message-ID:  <199912110104.RAA01817@mass.cdrom.com>
In-Reply-To: Your message of "Wed, 08 Dec 1999 13:24:23 PST." <199912082124.NAA30695@www.geocrawler.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> This message was sent from Geocrawler.com by "Alex" <al.feldman@sangoma.com>
> Be sure to reply to that address.
> 
> Hello,
> 
> I'm writting driver for PCI board.
> Is't possible to set interrupt handler for PCI 
> device not in attach function? If yes, how?
> For ISA is possible to do by calling 
> reconfig_isadev(dev, &imask) for one device.

That's the hard way of doing it.  Much better just to register one 
interrupt handler and then vector inside that handler to the correct 
local function.



-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




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?199912110104.RAA01817>