]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: remove link polling
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 3 Oct 2015 17:09:01 +0000 (18:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 09:58:47 +0000 (02:58 -0700)
commit5351a5cb2f2321e60a6ffa836723ba81016cec7e
treeab1ea5bfd6009271431cd35b75c3dfd2804f27be
parent825614b3c453f2d17102cc6c81019d1734227b13
net: dsa: mv88e6xxx: remove link polling

The link status is polled by the generic phy layer, there's no need to
duplicate that polling with additional polling.  This additional polling
adds additional MDIO traffic, and races with the generic phy layer,
resulting in missing or duplicated link status messages.

Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6123_61_65.c
drivers/net/dsa/mv88e6131.c
drivers/net/dsa/mv88e6171.c
drivers/net/dsa/mv88e6352.c
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h