This reverts commit
0b9f4e880807e3cfd22d12b929202e1edcdc577c.
This change reportedly breaks connectivity on some ar71xx devices, so
revert it for now.
Ref: https://github.com/openwrt/openwrt/pull/1217#issuecomment-
409708087
Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
ag->duplex = pdata->duplex;
ag->speed = pdata->speed;
- if (!ret) {
- dev_info(dev, "connected to fixed PHY at %s [uid=%08x, driver=%s]\n",
- phydev_name(ag->phy_dev),
- ag->phy_dev->phy_id, ag->phy_dev->drv->name);
- } else {
- pr_err("Failed to connect to fixed PHY\n");
- }
return ret;
}