dsa: mv88e6xxx: Don't poll forced interfaces for state changes
authorAndrew Lunn <andrew@lunn.ch>
Mon, 31 Aug 2015 13:56:52 +0000 (15:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2015 21:48:02 +0000 (14:48 -0700)
commit8b59d19e749b8cb454b7912396c2a6a1b91b9d30
tree75d1f71f2434bd4c6ae254a0395d1e194eb89ca6
parente7e72ac05acc357065a9448314dd14fff7c40d39
dsa: mv88e6xxx: Don't poll forced interfaces for state changes

When polling for link status, don't consider ports which have a forced
link. Such ports don't monitor their phy or may not even have a phy.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c