]> 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)
commit38ff7e8233cdc9d6affc3c2aa3648abd699dd801
treeab1ea5bfd6009271431cd35b75c3dfd2804f27be
parentd8617eef083bbe44c9607bcc5a62300676b10b3e
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