]> git.baikalelectronics.ru Git - kernel.git/commit
net: fman: Get PCS node in per-mac init
authorSean Anderson <sean.anderson@seco.com>
Thu, 18 Aug 2022 16:16:30 +0000 (12:16 -0400)
committerJakub Kicinski <kuba@kernel.org>
Fri, 19 Aug 2022 23:35:54 +0000 (16:35 -0700)
commit8a859d4a4670d3bb6516d5aff5b3873f2b78446f
tree1ce80a65a1098032f321fdcecabbedc78d2297e6
parent2c64648a1aefb3c386b8c23d9d3f91a925134121
net: fman: Get PCS node in per-mac init

This moves the reading of the PCS property out of the generic probe and
into the mac-specific initialization function. This reduces the
mac-specific jobs done in the top-level probe function.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Acked-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fman/mac.c
drivers/net/ethernet/freescale/fman/mac.h