From owner-p4-projects@FreeBSD.ORG Fri Aug 22 12:13:39 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 60E0316A4BF; Fri, 22 Aug 2003 12:13:38 -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 DED1616A4C3 for ; Fri, 22 Aug 2003 12:13:37 -0700 (PDT) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4FF843FDD for ; Fri, 22 Aug 2003 12:13:34 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 25729 invoked from network); 22 Aug 2003 19:13:32 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 22 Aug 2003 19:13:33 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h7MJDU9s004341; Fri, 22 Aug 2003 15:13:30 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030822180604.GB849@dhcp42.pn.xcllnt.net> Date: Fri, 22 Aug 2003 15:13:54 -0400 (EDT) From: John Baldwin To: Marcel Moolenaar 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 19:13:40 -0000 On 22-Aug-2003 Marcel Moolenaar wrote: > 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 :-) My only concern is that I'm afraid this isn't a very MI interface, but bus is probably an ok place for it for now. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/