From owner-freebsd-hackers Mon Dec 21 21:41:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA29866 for freebsd-hackers-outgoing; Mon, 21 Dec 1998 21:41:18 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rah.star-gate.com (sj-dsl-9-129-138.dspeed.net [209.249.129.138]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA29859 for ; Mon, 21 Dec 1998 21:41:16 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.1/8.8.8) with ESMTP id VAA65066; Mon, 21 Dec 1998 21:40:15 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199812220540.VAA65066@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Daniel O'Connor" cc: Kevin Van Maren , freebsd-hackers@FreeBSD.ORG, mike@smith.net.au Subject: Re: PCI IRQ mappings In-reply-to: Your message of "Tue, 22 Dec 1998 11:50:31 +1030." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 1998 21:40:15 -0800 From: Amancio Hasty Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > On 21-Dec-98 Kevin Van Maren wrote: > > [ useful PCI IRQ info deleted ] > > If the hardware is broken, complain bitterly to the vendor. If the > > driver is broken, complain bitterly to the driver writer. > OK.. > > Next question, how do I write a driver that shares interrupts correctly? Just make sure > it checks the cards IRQ register? You have to check that your card has set the interrupt bit if not then return. There is no PCI standard for specifying where can you check for interrupt active in a PCI device. Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message