]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ixp4xx: Retire ancient phy retrieveal
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 25 Apr 2021 00:30:37 +0000 (02:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Apr 2021 01:27:13 +0000 (18:27 -0700)
commit31bcae888cad8c81e8029f10cb87afcfb70c1208
treea90f95a4d14130a94772f843191fc39182fc20a5
parent9df6c7c2db168a4ab3fd6f8fe86245f0ea4db66f
net: ethernet: ixp4xx: Retire ancient phy retrieveal

This driver was using a really dated way of obtaining the
phy by printing a string and using it with phy_connect().
Switch to using more reasonable modern interfaces.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xscale/ixp4xx_eth.c