diff options
Diffstat (limited to 'target/linux')
-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 af31d0b5ac..b2dfe0b4ee 100644 --- a/target/linux/generic/files/drivers/net/phy/mvswitch.c +++ b/target/linux/generic/files/drivers/net/phy/mvswitch.c @@ -342,6 +342,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; @@ -412,6 +418,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, .driver = { .owner = THIS_MODULE,}, }; |