From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 10 21:29:43 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B290A16A417; Fri, 10 Aug 2007 21:29:43 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6E57213C458; Fri, 10 Aug 2007 21:29:43 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 36C0020B1; Fri, 10 Aug 2007 23:29:37 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 27A1820B0; Fri, 10 Aug 2007 23:29:37 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 13A3984445; Fri, 10 Aug 2007 23:29:37 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: John Baldwin References: <46337B06.9080102@ybb.ne.jp> <200708081750.l78HoaUY047803@lava.sentex.ca> <86vebn7ipx.fsf@ds4.des.no> <200708101455.44492.jhb@freebsd.org> <86ir7nnpxy.fsf@ds4.des.no> Date: Fri, 10 Aug 2007 23:29:37 +0200 In-Reply-To: <86ir7nnpxy.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Fri\, 10 Aug 2007 21\:35\:05 +0200") Message-ID: <86ps1vm62m.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-acpi@freebsd.org, Mike Tancsa Subject: Re: ichwd for ICH8 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: Fri, 10 Aug 2007 21:29:43 -0000 Dag-Erling Sm=C3=B8rgrav writes: > So basically, the quick fix is this? > > sc->tco_res =3D bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->tco_= rid, > pmbase + TCO_BASE, pmbase + TCO_BASE + TCO_LEN, TCO_LEN, > RF_ACTIVE | RF_SHAREABLE); That doesn't work, bus_alloc_resource() fails. It didn't with ~0ul. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no