Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2003 15:13:54 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   Re: PERFORCE change 36551 for review
Message-ID:  <XFMail.20030822151354.jhb@FreeBSD.org>
In-Reply-To: <20030822180604.GB849@dhcp42.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030822151354.jhb>