diff options
| author | Lihong Yang <lihong.yang@intel.com> | 2017-01-30 12:29:32 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 09:23:20 +0100 |
| commit | f18637f909ad2e12de3ada8329deb1e4b30880e8 (patch) | |
| tree | 52e282b7e3f46d940bdf698b7a293cb89b662119 /drivers/pwm/pwm-imx.c | |
| parent | 8d6455c5f59f1445ceafc68ac6e51ed9eb6dd1a6 (diff) | |
i40e: fix ethtool to get EEPROM data from X722 interface
[ Upstream commit c271dd6c391b535226cf1a81aaad9f33cb5899d3 ]
Currently ethtool -e will error out with a X722 interface
as its EEPROM has a scope limit at offset 0x5B9FFF.
This patch fixes the issue by setting the EEPROM length to
the scope limit to avoid NVM read failure beyond that.
Change-ID: I0b7d4dd6c7f2a57cace438af5dffa0f44c229372
Signed-off-by: Lihong Yang <lihong.yang@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
0 files changed, 0 insertions, 0 deletions
