Commit 2ee84cfe authored by Russell King (Oracle)'s avatar Russell King (Oracle) Committed by David S. Miller

net: dsa: mv88e6xxx: convert to phylink_generic_validate()

Now that the mv88e6xxx chip drivers are supplying the supported
interfaces and MAC capabilities, switch the driver to use the generic
phylink validation implementation by removing our own validation
implementations. This causes DSA to call phylink_generic_validate()
on our behalf.
Reviewed-by: default avatarMarek Behún <kabel@kernel.org>
Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d4ebf12b
This diff is collapsed.
...@@ -613,9 +613,6 @@ struct mv88e6xxx_ops { ...@@ -613,9 +613,6 @@ struct mv88e6xxx_ops {
/* Phylink */ /* Phylink */
void (*phylink_get_caps)(struct mv88e6xxx_chip *chip, int port, void (*phylink_get_caps)(struct mv88e6xxx_chip *chip, int port,
struct phylink_config *config); struct phylink_config *config);
void (*phylink_validate)(struct mv88e6xxx_chip *chip, int port,
unsigned long *mask,
struct phylink_link_state *state);
/* Max Frame Size */ /* Max Frame Size */
int (*set_max_frame_size)(struct mv88e6xxx_chip *chip, int mtu); int (*set_max_frame_size)(struct mv88e6xxx_chip *chip, int mtu);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment