linux/drivers/net/ethernet/amd/xgbe
Lendacky, Thomas 25ff96a9dc amd-xgbe: Be sure driver shuts down cleanly on module removal
Sometimes when the driver is being unloaded while the devices are still
up the driver can issue errors.  This is based on timing and the double
invocation of some routines.  The phy_exit() call needs to be run after
the network device has been closed and unregistered from the system.
Also, the phy_exit() does not need to invoke phy_stop() since that will
be called as part of the device closing, so remove that call.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-18 16:30:16 -07:00
..
Makefile amd-xgbe: Add I2C support for sideband communication 2016-11-13 00:56:26 -05:00
xgbe-common.h amd-xgbe: Set the MII control width for the MAC interface 2017-08-18 16:30:16 -07:00
xgbe-dcb.c amd-xgbe: Do traffic class setup when called through dcbnl 2016-02-17 15:22:20 -05:00
xgbe-debugfs.c amd-xgbe: Fix possible uninitialized variable 2016-11-16 13:57:44 -05:00
xgbe-desc.c amd-xgbe: Add NUMA affinity support for memory allocations 2017-06-29 15:14:18 -04:00
xgbe-dev.c amd-xgbe: Adjust register settings to improve performance 2017-06-29 15:14:19 -04:00
xgbe-drv.c net: sched: get rid of struct tc_to_netdev 2017-08-07 09:42:37 -07:00
xgbe-ethtool.c amd-xgbe: fix spelling mistake: "avialable" -> "available" 2017-06-29 15:35:50 -04:00
xgbe-i2c.c amd-xgbe: Re-issue interrupt if interrupt status not cleared 2017-06-29 15:14:18 -04:00
xgbe-main.c amd-xgbe: Be sure driver shuts down cleanly on module removal 2017-08-18 16:30:16 -07:00
xgbe-mdio.c amd-xgbe: Be sure driver shuts down cleanly on module removal 2017-08-18 16:30:16 -07:00
xgbe-pci.c amd-xgbe: Adjust register settings to improve performance 2017-06-29 15:14:19 -04:00
xgbe-phy-v1.c amd-xgbe: Add support for a KR redriver 2016-11-13 00:56:26 -05:00
xgbe-phy-v2.c amd-xgbe: Set the MDIO mode for 10000Base-T configuration 2017-08-18 16:30:16 -07:00
xgbe-platform.c amd-xgbe: Prepare for more fine grained cache coherency controls 2017-06-29 15:14:18 -04:00
xgbe-ptp.c amd-xgbe: Use the proper register during PTP initialization 2017-06-29 15:14:16 -04:00
xgbe.h drivers: net: add missing interrupt.h include 2017-07-18 11:13:41 -07:00