linux_dsm_epyc7002/drivers/net
Claudiu Manoil 2a4eebf0c4 gianfar: Restore link state settings after MAC reset
There are some MAC registers that need to be kept in sync
with the link state parameters, see adjust_link().
However, after a MAC soft reset default values for
these registers are assumed.  In some cases (excepting
if down/ if up for example) adjust_link() does not see
that these values were reset to default because the
priv->old* link parameters were left unchanged.
So, reset the priv->old* link params as well during a
MAC reset to let adjust_link() restore the MAC link
settings to the actual link state values.

Fixes following case, for example:
Setting link to 100M, changing MTU (implies MAC reset),
link state remains unchanged to 100M but MAC registers
were reset to default (1G) breaking the connectivity w/
the PHY.  Closing and re-opening the interface would
restore the MAC link parameters to the correct values.

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-13 21:26:23 -07:00
..
appletalk
arcnet
bonding bonding: Gratuitous ARP gets dropped when first slave added 2015-08-12 14:37:33 -07:00
caif
can can: mcp251x: get regulators optionally 2015-07-16 09:04:22 +02:00
cris
dsa net: dsa: bcm_sf2: do not use indirect reads and writes for 7445E0 2015-07-20 16:47:30 -07:00
ethernet gianfar: Restore link state settings after MAC reset 2015-08-13 21:26:23 -07:00
fddi
hamradio mkiss: Fix error handling in mkiss_open() 2015-08-10 21:10:31 -07:00
hippi
hyperv
ieee802154
ipvlan ipvlan: ignore addresses from ipv6 autoconfiguration 2015-07-15 21:33:40 -07:00
irda
phy net: phy: dp83867: Fix warning check for setting the internal delay 2015-07-21 22:29:31 -07:00
plip
ppp
slip
team
usb r8152: reset device when tx timeout 2015-07-30 14:03:46 -07:00
vmxnet3
wan cosa: missing error code on failure in probe() 2015-08-12 16:53:11 -07:00
wimax
wireless rtlwifi: rtl8723be: Add module parameter for MSI interrupts 2015-08-03 11:26:24 +03:00
xen-netback xen/netback: Wake dealloc thread after completing zerocopy work 2015-08-06 23:42:48 -07:00
dummy.c
eql.c
geneve.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c
macvtap.c macvtap: fix network header pointer for VLAN tagged pkts 2015-07-27 14:49:54 -07:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c NTB: ntb_netdev not covering all receive errors 2015-08-09 16:32:21 -04:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c virtio-net: drop NETIF_F_FRAGLIST 2015-08-07 00:13:10 -07:00
vxlan.c
xen-netfront.c