From owner-freebsd-acpi@FreeBSD.ORG Sun Jul 9 06:24:09 2006 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0DB916A4DA; Sun, 9 Jul 2006 06:24:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6540443D46; Sun, 9 Jul 2006 06:24:09 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k696KnCH092273; Sun, 9 Jul 2006 00:20:49 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 09 Jul 2006 00:20:57 -0600 (MDT) Message-Id: <20060709.002057.58455516.imp@bsdimp.com> To: jhb@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <200607071428.27775.jhb@freebsd.org> References: <200607071738.k67HcmJG006425@ns.init-main.com> <200607071428.27775.jhb@freebsd.org> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org, takawata@init-main.com, atkin901@yahoo.com Subject: Re: acpi on msi-9218 (-current) swaps sio0 and sio1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2006 06:24:09 -0000 In message: <200607071428.27775.jhb@freebsd.org> John Baldwin writes: : On Friday 07 July 2006 13:38, Takanori Watanabe wrote: : > In message <200607071240.57062.jhb@freebsd.org>, John Baldwin $B$5$s$$$o$/ : (B: : > We may want to use _UID resource to wire unit number. : > How about tweaking acpi_probe_child function so that attaching by : > _UID order? : : That's probably not a bad idea. However, it may be somewhat tricky to : implement. A quick hack solution would be to add the _UID to the order which : works as long as _UIDs are all < 10. I think the general case of unit wiring : is still useful though as it has applications outside of just ACPI. I believe the right way to cope is adding the devices with the right unit number. I think anything else is doomed to failure. However, it will mean that we'll need to OMIT the sio hints for ISA when we do acpi. We shouldn't be loading hints for isa anymore anyway, except on really really old machines. Warner