From owner-freebsd-current@FreeBSD.ORG Fri Dec 18 12:27:22 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08BCB106566C; Fri, 18 Dec 2009 12:27:22 +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 C00FE8FC1A; Fri, 18 Dec 2009 12:27:21 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id DEEC06D41B; Fri, 18 Dec 2009 12:27:20 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id B28A38454E; Fri, 18 Dec 2009 13:27:20 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Ivan Voras References: <200912161721.53540.jhb@freebsd.org> Date: Fri, 18 Dec 2009 13:27:20 +0100 In-Reply-To: (Ivan Voras's message of "Thu, 17 Dec 2009 18:47:43 +0100") Message-ID: <86ljh0bh7b.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: NOTES checker X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 12:27:22 -0000 Ivan Voras writes: > John Baldwin writes: > > I wrote a little script today that crawls through sys/conf/files*, > > sys/conf/options*, sys/conf/NOTES, and sys/*/conf/NOTES looking for dev= ices > > or options that are not tested in all the places they are valid. If fo= lks > > are interested I can commit it to src/tools. At the moment we have 300+ > > violations in HEAD. :) The first few look like this: > What does "tested" mean in this context? IIUC, it means "listed in NOTES on all arches that it claims to run on". > > WARN: device acpi_aiboost is defined globally but only tested in i386 N= OTES > > WARN: device acpi_asus is defined globally but only tested in i386 NOTES > > WARN: device acpi_dock is defined globally but only tested in i386 NOTES > > WARN: device acpi_fujitsu is defined globally but only tested in i386 N= OTES > > WARN: device acpi_hp is defined globally but only tested in i386 NOTES > > WARN: device acpi_ibm is defined globally but only tested in i386 NOTES > > WARN: option ACPI_MAX_TASKS is defined globally but never tested > > WARN: option ACPI_MAX_THREADS is defined globally but never tested > > WARN: device acpi_panasonic is defined globally but only tested in i386= NOTES > > WARN: device acpi_sony is defined globally but only tested in i386 NOTES > > WARN: device acpi_toshiba is defined globally but only tested in i386 N= OTES > > WARN: device acpi_video is defined globally but only tested in i386 NOT= ES > > WARN: device acpi_wmi is defined globally but only tested in i386 NOTES The bug here is not that they aren't tested outside i386, but that they are defined globally (although some of them, perhaps even all, are also valid on amd64) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no