summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/dpaa2/dpsw.h
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2021-08-03 19:57:41 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-04 09:53:34 +0100
commit2b24ffd83e3953e6ff7a67ca1c8f7832598b1bf0 (patch)
tree72af03654f19c1de075c5d6e05809f4edc583ef6 /drivers/net/ethernet/freescale/dpaa2/dpsw.h
parent042ad90ca7ce70f35dc5efd5b2043d2f8aceb12a (diff)
dpaa2-switch: no need to check link state right after ndo_open
The call to dpaa2_switch_port_link_state_update is a leftover from the time when on DPAA2 platforms the PHYs were started at boot time so when an ifconfig was issued on the associated interface, the link status needed to be checked directly from the ndo_open() callback. This is not needed anymore since we are now properly integrated with the PHY layer thus a link interrupt will come directly from the PHY eventually without the need to call the sync function. Fix this up by removing the call to dpaa2_switch_port_link_state_update. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpsw.h')
0 files changed, 0 insertions, 0 deletions