net/atlantic: use capability bits to detect EEPROM access
authorPavel Belous <pavel.belous@aquantia.com>
Mon, 29 Apr 2019 08:20:25 +0000 (08:20 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:23 +0000 (18:45 +0200)
commit3d19de22356ec54760591a8bf15084705881f9e1
tree411cbfd2dafc468f272383cfdcb6005eb6c86374
parent921eb6b8ce31f2f3fde943f1547856fe0aaee538
net/atlantic: use capability bits to detect EEPROM access

Its better to use capability bits FW provides to detect whether
firmware has APIs for EEPROM access.

Before that explicit FW version comparison was used and that may
cause conflicts.

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c