diff options
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/mvswitch.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/mvswitch.c b/target/linux/generic/files/drivers/net/phy/mvswitch.c index a20fce342e..043978feb9 100644 --- a/target/linux/generic/files/drivers/net/phy/mvswitch.c +++ b/target/linux/generic/files/drivers/net/phy/mvswitch.c @@ -346,6 +346,12 @@ mvswitch_read_status(struct phy_device *pdev) } static int +mvswitch_aneg_done(struct phy_device *phydev) +{ + return 1; /* Return any positive value */ +} + +static int mvswitch_config_aneg(struct phy_device *phydev) { return 0; @@ -417,6 +423,7 @@ static struct phy_driver mvswitch_driver = { .detach = &mvswitch_detach, .config_init = &mvswitch_config_init, .config_aneg = &mvswitch_config_aneg, + .aneg_done = &mvswitch_aneg_done, .read_status = &mvswitch_read_status, }; |