Date: Fri, 02 Oct 2015 14:43:51 -0700 From: Rui Paulo <rpaulo@me.com> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: Warner Losh <imp@bsdimp.com>, John Baldwin <jhb@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r287934 - head/sys/boot/efi/loader Message-ID: <1443822231.6210.1.camel@me.com> In-Reply-To: <CAJ-VmomPZUxiHjGohAuA0_Bczu%2BYrj2p5vQ0jV2mUP%2BdONHqsw@mail.gmail.com> References: <35a0f1b6-0236-4b0e-b919-00cab07429be@me.com> <5427AC7C-1B0B-4273-B758-DB0C1BDF656F@bsdimp.com> <1443064383.14580.3.camel@me.com> <CANCZdfpC85%2B_4RhCuqMCL_6erHfhqSmJULNEQeXEXf8XL7E6rg@mail.gmail.com> <CAJ-Vmonj940Q_2WRL01ctt5Fd2ErbQVcSRVbWDJ-zRH6iXZtJA@mail.gmail.com> <1443809080.13078.13.camel@me.com> <CAJ-VmomPZUxiHjGohAuA0_Bczu%2BYrj2p5vQ0jV2mUP%2BdONHqsw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2015-10-02 at 12:10 -0700, Adrian Chadd wrote: > On 2 October 2015 at 11:04, Rui Paulo <rpaulo@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1443822231.6210.1.camel>