]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit603a52ffdc181dd4a222ca82b890263f67e3917c
tree36838927ede7011679cd73924a183309724bcff7
parentfceda7569957c4bba76590d14e03fccf45b3703d
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