]> git.baikalelectronics.ru Git - uboot.git/commit
net: zynq_gem: Move ethernet info print statement
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Wed, 30 Mar 2022 09:07:55 +0000 (11:07 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 5 Apr 2022 13:13:13 +0000 (15:13 +0200)
commite8ef68dbd67a1e926f3597609bac5272aba5f93e
treea53eb5f1b7ced032c6769e1ddf47e650b179e338
parentc8666603f6d7c3fab1f08ebe742adec8a586a529
net: zynq_gem: Move ethernet info print statement

As we are not reading the PHY address in case of CONFIG_ETH_PHY in plat
function, phy address always prints as -1. So move the ethernet info
print statement to probe function, to display proper phy address.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/f6efc6719d767b1bebe65987c22c6d52329f4225.1648631275.git.michal.simek@xilinx.com
drivers/net/zynq_gem.c