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)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Feb 2026 02:42:48 +0000 (18:42 -0800)
commitd03e094473ecdeb68d853752ba467abe13e1de44
tree221dbb76c6b16bfd61888678bcd469588f4779ba
parented6788c5a7614d00321bc4c88fdb9d83fcba0e02
net: intel: fix PCI device ID conflict between i40e and ipw2200

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>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/wireless/intel/ipw2x00/ipw2200.c