Date: Wed, 07 Feb 2001 22:07:12 -0700 From: Warner Losh <imp@harmony.village.org> To: Andrea Campi <andrea@webcom.it> Cc: John Baldwin <jhb@FreeBSD.ORG>, Jim Bloom <bloom@acm.org>, "Crist J. Clark" <cjclark@reflexnet.net>, current@FreeBSD.ORG Subject: Re: Kernel Panic from Yesterday's CVSup Message-ID: <200102080507.f1857C998723@harmony.village.org> In-Reply-To: Your message of "Thu, 08 Feb 2001 02:19:33 %2B0100." <20010208021930.C13541@webcom.it> References: <20010208021930.C13541@webcom.it> <20010208014108.A13541@webcom.it> <XFMail.010207165900.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102080507.f1857C998723>