]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: add support for FW 4.x
authorDmitry Bogdanov <dbogdanov@marvell.com>
Fri, 17 Jul 2020 18:01:47 +0000 (21:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jul 2020 02:00:54 +0000 (19:00 -0700)
commit0044b1e1470aa62eeabb24983e2ff5433a68666a
tree57cb9ef384eb92c51be73864bafaae9ce6c02fb2
parentb567edbfc85ac375181862808928aeb381560c68
net: atlantic: add support for FW 4.x

This patch adds support for FW 4.x, which is about to get into the
production for some products.
4.x is mostly compatible with 3.x, save for soft reset, which requires
the acquisition of 2 additional semaphores.
Other differences (e.g. absence of PTP support) are handled via
capabilities.

Note: 4.x targets specific products only. 3.x is still the main firmware
branch, which should be used by most users (at least for now).

Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c