From owner-freebsd-current Wed Feb 7 21: 7:38 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (unknown [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 88B4E37B503; Wed, 7 Feb 2001 21:07:20 -0800 (PST) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f1857C998723; Wed, 7 Feb 2001 22:07:12 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200102080507.f1857C998723@harmony.village.org> To: Andrea Campi Subject: Re: Kernel Panic from Yesterday's CVSup Cc: John Baldwin , Jim Bloom , "Crist J. Clark" , current@FreeBSD.ORG In-reply-to: Your message of "Thu, 08 Feb 2001 02:19:33 +0100." <20010208021930.C13541@webcom.it> References: <20010208021930.C13541@webcom.it> <20010208014108.A13541@webcom.it> Date: Wed, 07 Feb 2001 22:07:12 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010208021930.C13541@webcom.it> Andrea Campi writes: : While I was reading your patch I was wondering: what's the situation with : IRQ sharing between PCCard and other devices? Since you're doing such a : massive rework, wouldn't this be a good time to also deal with this if : possible (well not now of course, after your patch is confirmed ok and : committed)? Sharing of IRQ between PCCARDs is not possible at the hardware level, unless your bridge supports it. OLDCARD only supports the legacy mode, so it isn't possible to share interrupts. NEWCARD supports cardbus bridges, which support sharing of interrupts in a very limited sense, but good enough for our purposes. : In case I was not clear: at the moment pccard and cardbus devices can't : share IRQ line with any kind of other devices. The best explanation of : this mentioned only pccard and said it was handled as ISA so you coulnd't : share, but in theory it was possible to handle pccard in a different way. : And cardbus shouldn't be a problem at all I think. ISA bus cannot share interrupts at all. Full stop[*]. Most pccard/cardbus bridges operate in a mode where they use ISA interrupts, so cannot share interrupts at all. The hardware just won't work if you try. NEWCARD tries to kick the cardbus bridge into full PCI mode, where you can share interrupts, since all the interrupts are going through the PCI hardware chain which does support interrupt sharing. Warner [*] Special, oddball cards can be made to support sharing. Those aren't relevant here because pcic bridges and the like aren't oddball. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message