From owner-freebsd-current@FreeBSD.ORG Wed Dec 16 22:22:01 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC2EC106566C for ; Wed, 16 Dec 2009 22:22:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id AD11C8FC0A for ; Wed, 16 Dec 2009 22:22:01 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 63F9946B39 for ; Wed, 16 Dec 2009 17:22:01 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 573C38A01B for ; Wed, 16 Dec 2009 17:22:00 -0500 (EST) From: John Baldwin To: current@freebsd.org Date: Wed, 16 Dec 2009 17:21:53 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912161721.53540.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 16 Dec 2009 17:22:00 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Subject: 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: Wed, 16 Dec 2009 22:22:01 -0000 I wrote a little script today that crawls through sys/conf/files*, sys/conf/options*, sys/conf/NOTES, and sys/*/conf/NOTES looking for devices or options that are not tested in all the places they are valid. If folks are interested I can commit it to src/tools. At the moment we have 300+ violations in HEAD. :) The first few look like this: WARN: Attempt to change type of gdc from option to device at /home/jhb/work/freebsd/svn/head/sys/pc98/conf/NOTES:307 Previous type set at /home/jhb/work/freebsd/svn/head/sys/conf/options.pc98:70 WARN: device acpi_aiboost is defined globally but only tested in i386 NOTES 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 NOTES 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 NOTES WARN: device acpi_video is defined globally but only tested in i386 NOTES WARN: device acpi_wmi is defined globally but only tested in i386 NOTES WARN: ad7418 is defined globally but never tested WARN: ada is defined globally but never tested WARN: option ADAPTIVE_LOCKMGRS is defined globally but never tested WARN: adlink is defined globally but never tested -- John Baldwin