]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Pass unknown PHY type for unknown PHYs
authorHenry Tieman <henry.w.tieman@intel.com>
Tue, 8 Nov 2016 21:05:07 +0000 (13:05 -0800)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:41:21 +0000 (19:41 -0500)
commit55a1b6050f403c0b325c637c6ae96f538c88d837
treec967ab34a42f1b4d4f984543ab38993f0d848e0d
parentde1aa897aaf679f2d36f1f010b25802808f639b1
i40e: Pass unknown PHY type for unknown PHYs

Orabug: 24568124

The PHY type value for unrecognized PHYs and cables was changed
based on firmware version number. Newer hardware use lower firmware
version numbers and this was causing some PHYs to be identified
as type 0x16 instead of 0xe (unknown).

Without this patch, newer card will incorrectly identify unknown
PHYs and cables.

This change adds hardware type to the check for firmware version
so the PHY type is reported correctly.

Change-ID: I0723cbfd263c76fc73ff1a5275d1639051376c9a
Signed-off-by: Henry Tieman <henry.w.tieman@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit e586bb66b57c2a50d464d0f87cf8c7c9c3b36835)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_common.c