From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 11 17:16:58 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 EE98016A4E0 for ; Tue, 11 Jul 2006 17:16:58 +0000 (UTC) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 062DF43D78 for ; Tue, 11 Jul 2006 17:16:47 +0000 (GMT) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G0Lqe-00048d-Oq for freebsd-acpi@freebsd.org; Tue, 11 Jul 2006 19:16:36 +0200 Received: from gw205.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jul 2006 19:16:36 +0200 Received: from atkin901 by gw205.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jul 2006 19:16:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-acpi@freebsd.org From: othermark Date: Tue, 11 Jul 2006 10:16:21 -0700 Lines: 41 Message-ID: References: <20060711.005639.-233674225.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gw205.f5.com User-Agent: KNode/0.10.2 Sender: news Subject: Re: sio0 wiring to a resource patch 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: Tue, 11 Jul 2006 17:16:59 -0000 M. Warner Losh wrote: > Please find enclosed an experimental patch. It does two things. [...] > Anyway, please test these patches out and let me know if you have > problems. > > Warner (sorry about the wrapping here) I tried to build it with a csup from this morning, and I get this compilation error: cc -c -O -pipe -march=pentiumpro -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/sio/sio_pci.c /usr/src/sys/dev/sio/sio_pci.c: In function `sio_pci_kludge_unit': /usr/src/sys/dev/sio/sio_pci.c:131: warning: implicit declaration of function `device_set_unit' /usr/src/sys/dev/sio/sio_pci.c:131: warning: nested extern declaration of `device_set_unit' *** Error code 1 Stop in /usr/obj/usr/src/sys/POGO. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. A full find on /usr/src only reveals that one instance of usage that needs to be changed. -- othermark atkin901 at nospam dot yahoo dot com (!wired)?(coffee++):(wired);