OSDN Git Service

atl1c: show correct link speed on Mikrotik 10/25G NIC
authorGatis Peisenieks <gatis@mikrotik.com>
Thu, 13 May 2021 11:43:22 +0000 (14:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2021 22:48:10 +0000 (15:48 -0700)
commitf19d4997fd1fb01bed127e1056ce3a5de922d9ee
tree36838927ede7011679cd73924a183309724bcff7
parent0d59c95ea3d2e81b76cfbd2f1ff0adf00c23c8f7
atl1c: show correct link speed on Mikrotik 10/25G NIC

The new Mikrotik 10/25G NIC maintains compatibility with existing atl1c
driver. However it does have new features.

This defines some new register offsets, code for identifying the new type
of NIC and correct speed detection for the NIC.

Signed-off-by: Gatis Peisenieks <gatis@mikrotik.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c.h
drivers/net/ethernet/atheros/atl1c/atl1c_hw.c
drivers/net/ethernet/atheros/atl1c/atl1c_hw.h
drivers/net/ethernet/atheros/atl1c/atl1c_main.c