diff options
author | Gatis Peisenieks <gatis@mikrotik.com> | 2021-05-13 14:43:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-14 01:48:10 +0300 |
commit | f19d4997fd1fb01bed127e1056ce3a5de922d9ee (patch) | |
tree | 36838927ede7011679cd73924a183309724bcff7 /drivers/net/ethernet/atheros/atl1c/atl1c.h | |
parent | 0d59c95ea3d2e81b76cfbd2f1ff0adf00c23c8f7 (diff) | |
download | linux-f19d4997fd1fb01bed127e1056ce3a5de922d9ee.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/atheros/atl1c/atl1c.h')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c.h b/drivers/net/ethernet/atheros/atl1c/atl1c.h index 28ae5c16831e..3fda7eb3bd69 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c.h +++ b/drivers/net/ethernet/atheros/atl1c/atl1c.h @@ -289,6 +289,7 @@ enum atl1c_nic_type { athr_l2c_b2, athr_l1d, athr_l1d_2, + athr_mt, }; enum atl1c_trans_queue { |