net/atlantic: use EEPROM magic as a device address
authorPavel Belous <pavel.belous@aquantia.com>
Tue, 12 Mar 2019 15:24:59 +0000 (15:24 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commitf73061d53b5a234a898bac4221fe62258c1cd20b
tree977ba8b8d7e2c114a1f30b9d9d37ee5b3e1ca1b6
parente09a7bee7772d39e57537a7564c9d58ed028ffcf
net/atlantic: use EEPROM magic as a device address

Default dev addr is replaced with magic field from the request.
Length is allowed to be less than maximum.
SMBUS access bit definitions also better organised now.

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