svn commit: r280799 - head/sys/dev/ath

John Baldwin jhb at freebsd.org
Mon Mar 30 20:44:38 UTC 2015


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


More information about the svn-src-head mailing list