path: root/drivers/net/dsa/mv88e6xxx.h
diff options
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-10-03 18:09:01 +0100
committerDavid S. Miller <davem@davemloft.net>2015-10-07 02:58:47 -0700
commit4bac50bace0377138fed2ac3627c1ad470ea1eca (patch)
treeab1ea5bfd6009271431cd35b75c3dfd2804f27be /drivers/net/dsa/mv88e6xxx.h
parentRevert "regmap: Allow installing custom reg_update_bits function" (diff)
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>
Diffstat (limited to '')
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx.h
index 1cf3cf887902..d8ec48710b80 100644
--- a/drivers/net/dsa/mv88e6xxx.h
+++ b/drivers/net/dsa/mv88e6xxx.h
@@ -442,7 +442,6 @@ void mv88e6xxx_ppu_state_init(struct dsa_switch *ds);
int mv88e6xxx_phy_read_ppu(struct dsa_switch *ds, int addr, int regnum);
int mv88e6xxx_phy_write_ppu(struct dsa_switch *ds, int addr,
int regnum, u16 val);
-void mv88e6xxx_poll_link(struct dsa_switch *ds);
void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, uint8_t *data);
void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port,
uint64_t *data);