OSDN Git Service

atl1c: detect NIC type early
authorGatis Peisenieks <gatis@mikrotik.com>
Thu, 27 May 2021 14:44:20 +0000 (17:44 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 May 2021 23:06:46 +0000 (16:06 -0700)
commitbf3be85dbe59e2a4972caf0163113a1040b73f72
treecbff03cff9ec95edfb1f13d6402eba5fec3a7a1b
parent91b17a436759e9f3a6f9ff090693564c3299cd9a
atl1c: detect NIC type early

To support NICs that allow for more than one tx queue it is
required to detect NIC type early during probe. This is moves
NIC type detection before netdev_alloc to prepare for that.

Signed-off-by: Gatis Peisenieks <gatis@mikrotik.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c