Re: putting future iwlwifi firmware into intel/ ?

Mario Limonciello
2024-04-17T14:14:43Z

On 4/17/24 09:09, Johannes Berg wrote:
> On Wed, 2024-04-17 at 08:58 -0500, Mario Limonciello wrote:
>>>
>>> Yeah, I guess. Though not actually sure, do we need to support new
>>> kernel + old firmware install?
>>
>> I'd say you should. Here's a few examples of why:
>
> Right, agree.
>
>> So yes; do the symlinks when you move directories. It's one line in
>> WHENCE per file that you want a symlink.
>>
>
> That doesn't achieve it though. It means the driver needs to try for the
> file in intel/ and then fall back without the intel/ if it's not found.
>
> Or just look for new files in intel/ and old files without intel/, but
> then you don't really need the file move/symlinks?
>
> johannes

It's probably easiest to look in intel/ and then fallback to the
toplevel path if -ENOENT and try again.

Like Kalle mentioned, wait a few years and then tear out the fallback
code and the symlink creation.