From owner-acpi-jp@jp.freebsd.org  Fri Oct 13 19:21:23 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id TAA28485;
	Fri, 13 Oct 2000 19:21:23 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mass.osd.bsdi.com (adsl-63-202-176-106.dsl.snfc21.pacbell.net [63.202.176.106])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id TAA28479
	for <acpi-jp@jp.freebsd.org>; Fri, 13 Oct 2000 19:21:22 +0900 (JST)
	(envelope-from msmith@mass.osd.bsdi.com)
Received: from mass.osd.bsdi.com (localhost [127.0.0.1])
	by mass.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e9DANi700367
	for <acpi-jp@jp.freebsd.org>; Fri, 13 Oct 2000 03:23:44 -0700 (PDT)
	(envelope-from msmith@mass.osd.bsdi.com)
Message-Id: <200010131023.e9DANi700367@mass.osd.bsdi.com>
X-Mailer: exmh version 2.1.1 10/15/1999
To: acpi-jp@jp.freebsd.org
In-reply-to: Your message of "Fri, 13 Oct 2000 16:54:28 +0900."
             <200010130754.QAA89947@shidahara1.planet.sci.kobe-u.ac.jp> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 13 Oct 2000 03:23:44 -0700
From: Mike Smith <msmith@freebsd.org>
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 871
Subject: [acpi-jp 871] Re: Latest ACPI megapatch update 
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: msmith@freebsd.org

> In message <200010121957.e9CJv1h01012@mass.osd.bsdi.com>, Mike Smith $B$5$s$$$o$/(B
> :
> >> I noticed you only calls acpi_parse_resources() for those connected to 
> >> acpi0 at acpi_get_resource(). But where do you think bus_get_resource();
> >> is called from?
> >
> >It should be called from bus_alloc_resource() in acpi_ec_attach().  I may 
> >not have this entirely right yet though; I'll look at it today now that 
> >the PCI stuff seems to be working OK.
> 
> I think,
> 
> bus_alloc_resource-> BUS_ALLOC_RESOURCE -> acpi_alloc_resource 
> -> resource_list_alloc ->( resource_list_alloc assumes 
> struct resource_list is already allocated...)
> 
> Isn't it?

I think you're right.  I've been fighting a sniper bug all evening, and I 
haven't been able to get that far (annoyingly, it seems to corrupt the 
acpi_ec_attach DEVMETHOD at the moment).

I'm going to be busy tomorrow, but I might be able to snapshot my code 
and put it up.  I don't know where the sniper bug has crept in though, 
I'm going to have to spend some time going through the differences 
between my current code and the last patchset to see where it's from. 8(

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E


