linux_dsm_epyc7002/drivers/net
Wang Dongsheng 103cdd1d59 gianfar: ethernet vanishes after restoring from hibernation
If a gianfar ethernet device is down prior to hibernating a
system, it will no longer be present upon system restore.

For example:

	~# ifconfig eth0 down
	~# echo disk > /sys/power/state

	  <trigger a restore from hibernation>

	~# ifconfig eth0 up
	SIOCSIFFLAGS: No such device

This happens because the restore function bails out early upon
finding devices that were not up at hibernation.  In doing so,
it never gets to the netif_device_attach call at the end of
the restore function.  Adding the netif_device_attach as done
here also makes the gfar_restore code consistent with what is
done in the gfar_resume code.

Cc: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-09 17:08:36 -05:00
..
appletalk
arcnet
bonding bonding: fix second off-by-one error 2012-11-01 11:53:44 -04:00
caif
can
cris
dsa
ethernet gianfar: ethernet vanishes after restoring from hibernation 2012-11-09 17:08:36 -05:00
fddi
hamradio
hippi
hyperv
ieee802154
irda
phy drivers/net/phy/mdio-bitbang.c: Call mdiobus_unregister before mdiobus_free 2012-11-02 21:36:06 -04:00
plip
ppp
slip
team
usb usbnet: ratelimit kevent may have been dropped warnings 2012-11-09 16:59:32 -05:00
vmxnet3 vmxnet3: must split too big fragments 2012-11-02 21:58:09 -04:00
wan
wimax
wireless drivers/net: use tasklet_kill in device remove/close process 2012-11-03 15:10:15 -04:00
xen-netback
dummy.c
eql.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c
vxlan.c vxlan: don't expire permanent entries 2012-10-31 13:42:12 -04:00
xen-netfront.c