From owner-svn-src-head@FreeBSD.ORG Mon Mar 30 20:44:37 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C60A5DB5; Mon, 30 Mar 2015 20:44:37 +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 7C38C298; Mon, 30 Mar 2015 20:44:37 +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 6AFB8B9B0; Mon, 30 Mar 2015 16:44:36 -0400 (EDT) From: John Baldwin To: Adrian Chadd Subject: Re: svn commit: r280799 - head/sys/dev/ath Date: Mon, 30 Mar 2015 16:32:30 -0400 Message-ID: <2308891.2rLa0R7ktj@ralph.baldwin.cx> User-Agent: KMail/4.14.2 (FreeBSD/10.1-STABLE; KDE/4.14.2; amd64; ; ) In-Reply-To: References: <201503282341.t2SNfOZc032386@svn.freebsd.org> <3261888.gflh0beI2v@ralph.baldwin.cx> 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 16:44:36 -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 20:44:38 -0000 On Monday, March 30, 2015 10:10:43 AM Adrian Chadd wrote: > Yes, because it's before the dynamic hint stuff starts up. (kern.hintmode.) > > Hints don't show up in kenv on the mips boards until I set the sysctl > to the "import them now!" setting. Everything in if_ath.c happens well after SYSINITs are going. Are you explicitly forcing hintmode to 1 in your kernel config? At least on x86 it always is zero and always pulls from kenv. If this is magic that config does when you have static hints, then why not have init_dynamic_kenv() call into subr_hints.c to pull all the static hints into the kenv right away? SI_SUB_KMEM is way, way before any device drivers start doing anything. -- John Baldwin