Date: Mon, 30 Mar 2015 16:32:30 -0400 From: John Baldwin <jhb@freebsd.org> To: Adrian Chadd <adrian@freebsd.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r280799 - head/sys/dev/ath Message-ID: <2308891.2rLa0R7ktj@ralph.baldwin.cx> In-Reply-To: <CAJ-VmonzmsDaWyZ_S=CORKY2t%2BLvpwvamhF1cwN5HKFyqnTyLw@mail.gmail.com> References: <201503282341.t2SNfOZc032386@svn.freebsd.org> <3261888.gflh0beI2v@ralph.baldwin.cx> <CAJ-VmonzmsDaWyZ_S=CORKY2t%2BLvpwvamhF1cwN5HKFyqnTyLw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2308891.2rLa0R7ktj>