]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-mac: move setting up supported_interfaces into a function
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 11 Mar 2022 21:22:26 +0000 (23:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2022 10:41:51 +0000 (10:41 +0000)
commitc53f27392c780d500ff919b287300ed674055505
tree1142779d2f7f9a2d597643f18f8edba41346de49
parentc7f2363a3d23f1cbffb306252d4e032b6c3f7c90
dpaa2-mac: move setting up supported_interfaces into a function

The logic to setup the supported interfaces will get annotated based on
what the configuration of the SerDes PLLs supports. Move the current
setup into a separate function just to try to keep it clean.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c