]> git.baikalelectronics.ru Git - kernel.git/commit
atl1c: fix Mikrotik 10/25G NIC detection
authorGatis Peisenieks <gatis@mikrotik.com>
Thu, 8 Jul 2021 09:49:04 +0000 (12:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jul 2021 20:31:43 +0000 (13:31 -0700)
commitc9d6937ac7101bcdb231761a2c73186d43733ed8
treeef3bb8f5a19fa1a8ad5d5a385ca555fc7d10a4d5
parent53422986ed625d666663a23810ea6588936542d8
atl1c: fix Mikrotik 10/25G NIC detection

Since Mikrotik 10/25G NIC MDIO op emulation is not 100% reliable,
on rare occasions it can happen that some physical functions of
the NIC do not get initialized due to timeouted early MDIO op.

This changes the atl1c probe on Mikrotik 10/25G NIC not to
depend on MDIO op emulation.

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