From owner-p4-projects@FreeBSD.ORG Fri Aug 22 11:06:06 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 04F9116A4C1; Fri, 22 Aug 2003 11:06:06 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C6D216A4BF; Fri, 22 Aug 2003 11:06:05 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99A5943FD7; Fri, 22 Aug 2003 11:06:04 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp42.pn.xcllnt.net (dhcp42.pn.xcllnt.net [192.168.4.242]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h7MI64wO032519; Fri, 22 Aug 2003 11:06:04 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp42.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp42.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h7MI64De000982; Fri, 22 Aug 2003 11:06:04 -0700 (PDT) (envelope-from marcel@dhcp42.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp42.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h7MI64QY000981; Fri, 22 Aug 2003 11:06:04 -0700 (PDT) (envelope-from marcel) Date: Fri, 22 Aug 2003 11:06:04 -0700 From: Marcel Moolenaar To: John Baldwin Message-ID: <20030822180604.GB849@dhcp42.pn.xcllnt.net> References: <20030821192214.GA25805@ns1.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: Perforce Change Reviews Subject: Re: PERFORCE change 36551 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 18:06:06 -0000 On Fri, Aug 22, 2003 at 12:54:14PM -0400, John Baldwin wrote: > > > Going to the source: in acpi_parse_resources() we need to create > > a callback to MD code to tell it about polarity and mode. This > > means tweaking the ACPI_RSTYPE_IRQ or ACPI_RSTYPE_EXT_IRQ cases. > > Better would be to create bus methods for this (see for example > > acpi_res_set_irq()). > > Yes. For i386 definitely it would make sense to have a bus method > that bubbles back up to the nexus(4) and eventually calls the > MD interrupt code. Maybe some kind of interrupt properties kobj > interface: The impact of a seperate KOBJ interface is probably large. I can't think of a use of this object that's unrelated to the bus object. If we do have such an use, then it should probably be a seperate interface, otherwise I think we should just add new methods to the bus interface. I first need to finish a couple of other things, but then I can spend some time on it. Don't wait for me :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net