]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: intel: fix PCI device ID conflict between i40e and ipw2200
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Tue, 10 Feb 2026 02:12:34 +0000 (18:12 -0800)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:21:29 +0000 (07:21 -0500)
commit41023fc00f3702f9a5fafcfbb2b39e8f5d8ef5ed
treea195b4e6b3ebe607aab859c6481b91c88b55e9ef
parent23b82b7a26182ad840ae67d390d7ec9771e8c00f
net: intel: fix PCI device ID conflict between i40e and ipw2200

[ Upstream commit d03e094473ecdeb68d853752ba467abe13e1de44 ]

The ID 8086:104f is matched by both i40e and ipw2200. The same device
ID should not be in more than one driver, because in that case, which
driver is used is unpredictable. Fix this by taking advantage of the
fact that i40e devices use PCI_CLASS_NETWORK_ETHERNET and ipw2200
devices use PCI_CLASS_NETWORK_OTHER to differentiate the devices.

Fixes: 2e45d3f4677a ("i40e: Add support for X710 B/P & SFP+ cards")
Cc: stable@vger.kernel.org
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Link: https://patch.msgid.link/20260210021235.16315-1-enelsonmoore@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/wireless/intel/ipw2x00/ipw2200.c