svn commit: r287934 - head/sys/boot/efi/loader

Rui Paulo rpaulo at me.com
Fri Oct 2 21:43:56 UTC 2015


On Fri, 2015-10-02 at 12:10 -0700, Adrian Chadd wrote:
> On 2 October 2015 at 11:04, Rui Paulo <rpaulo at 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



More information about the svn-src-all mailing list