From owner-svn-src-head@FreeBSD.ORG Mon Mar 30 16:40:23 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5231CEE5; Mon, 30 Mar 2015 16:40:23 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 13408D11; Mon, 30 Mar 2015 16:40:23 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-54-116-245.nwrknj.fios.verizon.net [173.54.116.245]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 0570EB99B; Mon, 30 Mar 2015 12:40:22 -0400 (EDT) From: John Baldwin To: Adrian Chadd Subject: Re: svn commit: r280799 - head/sys/dev/ath Date: Mon, 30 Mar 2015 11:26:42 -0400 Message-ID: <3261888.gflh0beI2v@ralph.baldwin.cx> User-Agent: KMail/4.14.2 (FreeBSD/10.1-STABLE; KDE/4.14.2; amd64; ; ) In-Reply-To: <201503282341.t2SNfOZc032386@svn.freebsd.org> References: <201503282341.t2SNfOZc032386@svn.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 30 Mar 2015 12:40:22 -0400 (EDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 16:40:23 -0000 On Saturday, March 28, 2015 11:41:24 PM Adrian Chadd wrote: > Author: adrian > Date: Sat Mar 28 23:41:23 2015 > New Revision: 280799 > URL: https://svnweb.freebsd.org/changeset/base/280799 > > Log: > Update if_ath(4) to check for "hint.ath.X.macaddr" for an override MAC address. > > This is used by the AR71xx platform code to choose a local MAC based on > the "board MAC address", versus whatever potentially invalid/garbage > values are stored in the Atheros calibration data. Are you sure that resource_string_value() doesn't work? If kern_getenv() works, then resource_string_value() should also work. -- John Baldwin