From owner-freebsd-new-bus Mon Jul 10 13:58:58 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 9B3DF37B7A9 for ; Mon, 10 Jul 2000 13:58:54 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id OAA44386; Mon, 10 Jul 2000 14:58:52 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA86244; Mon, 10 Jul 2000 14:58:41 -0600 (MDT) Message-Id: <200007102058.OAA86244@harmony.village.org> To: Jeroen Ruigrok/Asmodai Subject: Re: bus_config_intr() Cc: new-bus@FreeBSD.ORG In-reply-to: Your message of "Mon, 10 Jul 2000 20:40:18 +0200." <20000710204018.F86887@daemon.ninth-circle.org> References: <20000710204018.F86887@daemon.ninth-circle.org> Date: Mon, 10 Jul 2000 14:58:41 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000710204018.F86887@daemon.ninth-circle.org> Jeroen Ruigrok/Asmodai writes: : Poul-Henning Kamp was friendly enough to make the following patch: : : http://phk.freebsd.dk/misc/bus_config_intr.patch : : Basically this removes some often duplicated code and wraps it in a : function of itself. I am not quite sure if the name shouldn't be : pcibus_config_intr(), but I welcome arguments, both for and against, : before I commit this to the tree since it makes sense. Hmmm. I don't like the sharable bit. However, that's likely a bug in the isa bus. No, wait. the ISA bus will allow shared interrupts (look at the boca boards and we do it here all the time). I'm of two minds. On the one hand most buses the interrupts are always sharable (pci), but on the other sometimes they are and somethiens they aren't (isa). pccard is interesting because it can share interrupts between cards on the bus, but generally not with other things. It should be able to, but until we have the cardbus bridge support for 16 or 32 bit cards in place, we can't share it with other resources reliably. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message