]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Add functions which apply correct PHY access method for read and write operation
authorMichal Kosiarz <michal.kosiarz@intel.com>
Mon, 21 Nov 2016 21:03:50 +0000 (13:03 -0800)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:41:41 +0000 (19:41 -0500)
commit2e7795ddcb8a0edb6e8821748fae71626d40ad61
treededa0c14e5f7fc7cb73f4fe28a6c0e57069e5f01
parent99a18bd1ed37c34a81d91561fe10d188034ee411
i40e: Add functions which apply correct PHY access method for read and write operation

Orabug: 24568124

Depending on external PHY type, register access method should be
different. Clause22 or Clause45 can be chosen for different PHYs.
Implemented functions apply correct access method for used device.

Change-ID: If39d5f0da9c0b905a8cbdc1ab89885535e7d0426
Signed-off-by: Michal Kosiarz <michal.kosiarz@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit f62ba91458b508c957f3e0f98f5c2a72633badcb)
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
drivers/net/ethernet/intel/i40e/i40e_prototype.h
drivers/net/ethernet/intel/i40evf/i40e_prototype.h