Date: Thu, 2 Nov 2017 10:22:39 -0700 From: Ngie Cooper <yaneurabeya@gmail.com> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: Warner Losh <imp@bsdimp.com>, Kevin Oberman <rkoberman@gmail.com>, Thomas Mueller <mueller6722@twc.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: iwm not in GENERIC kernel Message-ID: <AC953FF8-316D-4E47-BA71-38658E0E10A2@gmail.com> In-Reply-To: <CAJ-VmokHht9w8BDWuHoS_Waj_NrKcppLwsKrvALqAGntPaeHyQ@mail.gmail.com> References: <20171029010942.GD5682@gmail.com> <1282E750-97FF-43A7-BFEE-3B82597311F0@gmail.com> <59f5a3e3.82b6df0a.9f209.0495SMTPIN_ADDED_MISSING@mx.google.com> <5BE53074-F3E7-4392-A48A-E01474A9AFAE@gmail.com> <CAN6yY1vu6cO2SOPqz7nTyrXLwxs7rFBNBnt59wqSMbBMeYSbrg@mail.gmail.com> <B4DA2B5B-C590-4A96-B6DE-CEFD9F467155@gmail.com> <CANCZdfqV_-0K7TuVFv3xdn8QmfGXhpNqN0D8pmiZpSKiGQOkcA@mail.gmail.com> <E2A983DA-FDCB-4174-827E-C64DF02423A3@gmail.com> <CAJ-VmokHht9w8BDWuHoS_Waj_NrKcppLwsKrvALqAGntPaeHyQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Nov 2, 2017, at 09:53, Adrian Chadd <adrian.chadd@gmail.com> wrote: >=20 > uuuuugh okay >=20 > So it's a chicken/egg problem. >=20 > You can't finish the device probe/attach until the firmware loads. >=20 > For iwn, you can read the chipset abilities and mac address from > EPROM/flash on the chip without the firmware being loaded, so you can > complete probe/attach before the root filesystem is mounted. >=20 > For iwm, you have to load the firmware before you can read the chipset > abilities and MAC address so you can't complete probe/attach until > AFTER the root filesystem is mounted. >=20 > If someone wants to go add all of that support in to have probe/attach > deferred until after rootfs is available then please do so. Or, just > support the firmware being 100% compiled in- but when I tried this the > last time I ran out of some firmware arena size preventing other > firmware for other chipsets from being loaded. >=20 > Otherwise this is the current hack. :) It=E2=80=99s ok (better than nothing)! Could you please write up bugs with your findings? Thanks so much! -Ngie=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC953FF8-316D-4E47-BA71-38658E0E10A2>