OSDN Git Service

Merge branch 'net-atlantic-A2-support'
authorDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 22:37:59 +0000 (15:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 22:37:59 +0000 (15:37 -0700)
Igor Russkikh says:

====================
net: atlantic: A2 support

This patchset adds support for the new generation of Atlantic NICs.

Chip generations are mostly compatible register-wise, but there are still
some differences. Therefore we've made some of first generation (A1) code
non-static to re-use it where possible.

Some pieces are A2 specific, in which case we redefine/extend such APIs.

v2:
 * removed #pragma pack (2 structures require the packed attribute);
 * use defines instead of magic numbers where possible;

v1: https://patchwork.ozlabs.org/cover/1276220/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge