linux_dsm_epyc7002/drivers/net/ethernet/freescale
Claudiu Manoil c6dd6488ac enetc: Remove the imdio bus on PF probe bailout
enetc_imdio_remove() is missing from the enetc_pf_probe()
bailout path. Not surprisingly because enetc_setup_serdes()
is registering the imdio bus for internal purposes, and it's
not obvious that enetc_imdio_remove() currently performs the
teardown of enetc_setup_serdes().
To fix this, define enetc_teardown_serdes() to wrap
enetc_imdio_remove() (improve code maintenance) and call it
on bailout and remove paths.

Fixes: 975d183ef0 ("net: enetc: Initialize SerDes for SGMII and USXGMII protocols")
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-22 17:32:07 -07:00
..
dpaa treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
dpaa2 dpaa2-eth: add support for TBF offload 2020-07-21 16:24:04 -07:00
enetc enetc: Remove the imdio bus on PF probe bailout 2020-07-22 17:32:07 -07:00
fman Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 18:58:11 -07:00
fs_enet net: fs_enet: remove redundant null check 2020-07-20 17:42:17 -07:00
fec_main.c net: fec: Set max MTU size to allow the MTU to be changed 2020-07-12 15:22:14 -07:00
fec_mpc52xx_phy.c
fec_mpc52xx.c net: convert suitable network drivers to use phy_do_ioctl 2020-01-21 10:50:41 +01:00
fec_mpc52xx.h
fec_ptp.c net: fec: replace snprintf() with strlcpy() in fec_ptp_init() 2020-07-16 11:32:03 -07:00
fec.h net: ethernet: fec: prevent tx starvation under high rx load 2020-07-07 15:25:05 -07:00
fsl_pq_mdio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
gianfar_ethtool.c net: gianfar: reject unsupported coalescing params 2020-03-12 11:32:35 -07:00
gianfar.c net/freescale: Clean drivers from static versions 2020-03-03 17:54:55 -08:00
gianfar.h net/freescale: Clean drivers from static versions 2020-03-03 17:54:55 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile net: dsa: felix: fix link error 2020-01-08 16:05:54 -08:00
ucc_geth_ethtool.c net/freescale: Don't set zero if FW not-available in ucc_geth 2020-03-03 17:54:55 -08:00
ucc_geth.c net: ethernet: freescale: remove unneeded include for ucc_geth 2020-06-04 15:55:58 -07:00
ucc_geth.h net/freescale: Clean drivers from static versions 2020-03-03 17:54:55 -08:00
xgmac_mdio.c net/fsl: enable extended scanning in xgmac_mdio 2020-06-23 20:35:15 -07:00