From owner-freebsd-stable@FreeBSD.ORG Wed Sep 17 17:43:38 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB2191065767 for ; Wed, 17 Sep 2008 17:43:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4A8FE8FC14 for ; Wed, 17 Sep 2008 17:43:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m8HHhL6I007809; Wed, 17 Sep 2008 13:43:27 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 17 Sep 2008 11:37:32 -0400 User-Agent: KMail/1.9.7 References: <48CD1C54.7040208@incunabulum.net> <200809131109.06694.jhb@freebsd.org> <200809170258.m8H2wsrO064420@pf2.ed.niigata-u.ac.jp> In-Reply-To: <200809170258.m8H2wsrO064420@pf2.ed.niigata-u.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809171137.32759.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Wed, 17 Sep 2008 13:43:32 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8270/Wed Sep 17 09:15:56 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: KAHO Toshikazu Subject: Re: alpm(4) I/O range is claimed by ACPI X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 17:43:38 -0000 On Tuesday 16 September 2008 10:58:54 pm KAHO Toshikazu wrote: > Hello, > > I am sorry to mistake copying message-id and break mail thread. > > >> I tried looking for this device in the DSDT, I don't see anything which > >> obviously resembles it. The equivalent Linux driver has a means of > >> forcing the mapping to be set up if it isn't available: > >> http://www.kernel.org/doc/Documentation/i2c/busses/i2c-ali15x3 > >> > >> It looks like there used to be a means of doing this in the FreeBSD > >> driver but it got nuked. And that ASUS didn't much care about power > >> management support in this machine... > > > >If you can re-enable it in such a way that it uses bus_alloc_resource(), then > >the driver will probably work fine. > > How to re-enable it? Please give me some points. PCIR_BAR is always 0, > even if any values are written by pciconf. Well, bus_alloc_resource() will allocate resources for the BAR and update the BAR for you, the question is if you need to hardcode the range to bus_alloc_resource() or not. -- John Baldwin