On Fri, 2015-10-02 at 12:10 -0700, Adrian Chadd wrote:
> On 2 October 2015 at 11:04, Rui Paulo <rpa...@me.com> wrote:
> > On Thu, 2015-09-24 at 08:29 -0700, Adrian Chadd wrote:
> > > ... I'm confused about the "load it by hand" stuff in net80211.
> > > Why
> > > don't we just do the kldload at that point?
> > > 
> > 
> > I was talking about ieee80211_load_module.  net80211 module auto
> > loading doesn't work probably because kern_kldload() can't be
> > called
> > from certain contexts.
> 
> hm, can we do it from a taskqueue?
> 

Sure, but I suspect the caller might not want to sleep waiting for the
taskqueue to terminate.  I really haven't looked into it, sorry... 

It might be a better idea to check if the driver does software and/or
hardware crypto and load the appropriate modules at that time.  Then
check which ratesel module should be used and load that as well.  The
list continues :-)

-- 
Rui Paulo

_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to