From owner-freebsd-arch@FreeBSD.ORG Tue Jul 10 23:59:00 2007 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 358F116A41F; Tue, 10 Jul 2007 23:59:00 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id E5BD213C48A; Tue, 10 Jul 2007 23:58:59 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 6459317383; Tue, 10 Jul 2007 23:58:58 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l6ANwvPF053932; Tue, 10 Jul 2007 23:58:57 GMT (envelope-from phk@critter.freebsd.dk) To: Robert Watson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 11 Jul 2007 00:41:43 +0100." <20070711003958.V8913@fledge.watson.org> Date: Tue, 10 Jul 2007 23:58:57 +0000 Message-ID: <53931.1184111937@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Rui Paulo , Shteryana Shopova , freebsd-arch@FreeBSD.org, "Constantine A. Murenin" Subject: Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 23:59:00 -0000 In message <20070711003958.V8913@fledge.watson.org>, Robert Watson writes: >On Tue, 10 Jul 2007, Poul-Henning Kamp wrote: >> The OpenBSD stuff is a 1980 style hack, and should not be propagated. > >This argument would be more convincing if accompanied by a concrete example, >fabricated or otherwise. Are you suggesting, for example, adding newbus >sensor methods associated with existing driver attachments? I'm not advocating that we actually tro to overengineer a solution for this stuff. As long as the hardware people don't think about where the slam down the sensors, there is little chance of us making any kind of sense of their measurements without the context which we often have to glean from physical inspection. I'm objecting to the OpenBSD code because it gives the impression of order and structure, where none exists. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.