Date: Tue, 13 Aug 2002 07:09:48 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Jonathan Chen <jon@FreeBSD.ORG> Cc: yid@softhome.net, <freebsd-bugs@FreeBSD.ORG> Subject: Re: kern/40636: PCI devices don't share IRQs. Message-ID: <20020813065013.A26266-100000@gamplex.bde.org> In-Reply-To: <200208121949.g7CJnTMS091557@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Aug 2002, Jonathan Chen wrote: > Synopsis: PCI devices don't share IRQs. > > State-Changed-From-To: open->closed > State-Changed-By: jon > State-Changed-When: Mon Aug 12 12:48:00 PDT 2002 > State-Changed-Why: > duplicate pr, see kern/20523 20523 seems to be mostly about a feature request. Some of the features may have been implemented in a different way in the puc driver. > this pr is also an incomplete solution, as intr_fast shouldn't be shared. I think it is an adequate quick fix. The cy_pci driver already does something similar, but tries harder to keep shared interrupts shared and fast interrupts unshared. The patch in the PR seems to depend on a driver that wants the device shared being attached first to work in the submitter's configuration. If the sio device is attached first, then I think the interrupt is set up as fast and this should prevent subsequent setups as shared; the cy_pci driver uses an option to prevent this happening by default. The interrupt resource allocation as !RF_SHARED doesn't seem to affect this much except to break cases that could work. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020813065013.A26266-100000>