]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: xilinx: axi_emaclite: Use shared MDIO bus support for axi emaclite driver
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Tue, 10 May 2022 11:26:10 +0000 (13:26 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:11:05 +0000 (14:11 +0200)
commit8faeb023e9486fdbadf70f438c52e2d47ba2ab86
tree701179679323eccbef52ed1f30d4f2bf07fc0383
parent935e3625ceedbcf11e66947f1bc8791ececbf083
net: xilinx: axi_emaclite: Use shared MDIO bus support for axi emaclite driver

CONFIG_DM_ETH_PHY enables support to utilize generic ethernet phy
framework. Though if ethernet PHY node is in other ethernet node, it
will use shared MDIO to access the PHY of other ethernet. Move ethernet
print info statement from plat function to probe function, as phyaddr is
not enumerated when CONFIG_DM_ETH_PHY is enabled.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Acked-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Link: https://lore.kernel.org/r/93e11ccca56b6e52b2dcc283d08d5042537f828f.1652181968.git.michal.simek@amd.com
drivers/net/xilinx_emaclite.c