On 30 March 2015 at 13:32, John Baldwin <j...@freebsd.org> wrote: > 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.
This is on MIPS and not on x86. And yes, I checked - both arge and ath probe/attach get called with no hints in kenv (ie, static hints) and I don't recall the hintmode being explicitly set in a config file. I'd love to make it work via hints calls; it'd significantly simplify things. -a _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"