]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
iwlwifi: adjust the LinuxKPI pci return for now
authorBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 3 Mar 2022 22:24:13 +0000 (22:24 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Sun, 27 Mar 2022 18:06:48 +0000 (18:06 +0000)
commitfd2c8fe44cfae7ced0ae3d142038dc71e537dbd4
treee41f26b9cfc88d1340c182d5b9e03b54d9a332db
parent3166cea632449ce6c6dad699a812b9813a9531ef
iwlwifi: adjust the LinuxKPI pci return for now

Rather than having LinuxKPI return BUS_PROBE_DEFAULT, return
"one less" so that on conflict of IDs others would be preferred.

This means that iwm(4) will attach instead of iwlwifi(4) for the
chipsets iwm(4) supports and iwlwifi(4) only for the other--in iwm(4)
unsupported--chipsets.  This is done so that we can enable auto-loading
of drivers but for the upcoming 13.1-Release people with working iwm(4)
will not yet be affected by iwlwifi(4).

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 3d248a914d923b444f72fb27ba621c0ab2ef464e)
sys/contrib/dev/iwlwifi/pcie/drv.c