From owner-freebsd-bugs Mon Aug 12 14: 4:50 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4152E37B400; Mon, 12 Aug 2002 14:04:49 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B6443E42; Mon, 12 Aug 2002 14:04:48 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id HAA24380; Tue, 13 Aug 2002 07:04:45 +1000 Date: Tue, 13 Aug 2002 07:09:48 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Jonathan Chen Cc: yid@softhome.net, Subject: Re: kern/40636: PCI devices don't share IRQs. In-Reply-To: <200208121949.g7CJnTMS091557@freefall.freebsd.org> Message-ID: <20020813065013.A26266-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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