aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-08-01 22:31:34 +0200
committerJo-Philipp Wich <jo@mein.io>2018-08-01 22:31:37 +0200
commit33dbe2c55da1480559092185c4ef071995d9bc90 (patch)
tree9037c14c6d82492a722164954db8d64ee3db540d
parent9ebf59638600b3cffc5cb601cce60226c942a516 (diff)
downloadupstream-33dbe2c55da1480559092185c4ef071995d9bc90.tar.gz
upstream-33dbe2c55da1480559092185c4ef071995d9bc90.tar.bz2
upstream-33dbe2c55da1480559092185c4ef071995d9bc90.zip
Revert "ar71xx: ag71xx: Add connect message: fixed phy"
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>
-rw-r--r--target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c
index 53507ab5a3..daa373be69 100644
--- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c
+++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c
@@ -111,13 +111,6 @@ static int ag71xx_phy_connect_fixed(struct ag71xx *ag)
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;
}