From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 8 11:03:47 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D6151065695; Wed, 8 Dec 2010 11:03:47 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 1C8FB8FC21; Wed, 8 Dec 2010 11:03:46 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 397101FFC33; Wed, 8 Dec 2010 11:03:46 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 191088452F; Wed, 8 Dec 2010 12:03:46 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Mark Johnston References: <86r5dsq5oc.fsf@ds4.des.no> <20101208045823.GB35615@mark-desktop-bsd.mark-home> Date: Wed, 08 Dec 2010 12:03:45 +0100 In-Reply-To: <20101208045823.GB35615@mark-desktop-bsd.mark-home> (Mark Johnston's message of "Tue, 7 Dec 2010 23:58:23 -0500") Message-ID: <86ipz4plv2.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: mdf@FreeBSD.org, freebsd-hackers Subject: Re: coretemp(4)/amdtemp(4) and sysctl nodes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2010 11:03:47 -0000 Mark Johnston writes: > Aren't the dev.cpu.X and the coretemp sysctls matched up by the use of > > SYSCTL_CHILDREN(device_get_sysctl_tree(pdev)) > > in coretemp's sysctl definition? What does the sysctl context have to do > with identifying the parent oid? They're intended to go hand in hand. I would have preferred that contexts were actually tied to subtrees, but I had to play the ball I was given. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no