net/ngbe: initialize and validate EEPROM
authorJiawen Wu <jiawenwu@trustnetic.com>
Thu, 8 Jul 2021 09:32:26 +0000 (17:32 +0800)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Mon, 12 Jul 2021 15:55:21 +0000 (17:55 +0200)
commitf501a195bdedc3c1b8742fa2f6432df0c262987d
tree2be4c78754c90104502983427756d968f49754cf
parent68eb13a1ef3670410256ecb79603a61ffb49a1af
net/ngbe: initialize and validate EEPROM

Reset swfw lock before NVM access, init EEPROM and validate the
checksum.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
drivers/net/ngbe/base/meson.build
drivers/net/ngbe/base/ngbe_dummy.h
drivers/net/ngbe/base/ngbe_eeprom.c [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_eeprom.h [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_hw.c
drivers/net/ngbe/base/ngbe_hw.h
drivers/net/ngbe/base/ngbe_mng.c [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_mng.h [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_type.h
drivers/net/ngbe/ngbe_ethdev.c