]> git.ipfire.org Git - people/ms/u-boot.git/commit
net: phy: Change to print all phys that are not found
authorBin Meng <bmeng.cn@gmail.com>
Thu, 8 Oct 2015 04:19:30 +0000 (21:19 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 29 Oct 2015 19:05:49 +0000 (14:05 -0500)
commit3e1949d77463b062a4f8d380128abb7854f4907b
treee0689d3916501a5caf169920a6f0ea5484da7015
parent0132b9ab6e6593d1fd259cdd26261f184c436fdd
net: phy: Change to print all phys that are not found

In get_phy_device_by_mask(), when no phy is found, currently we only
print a message to show the first phy address that is not found. But
this is not always the case as multiple phys can be specified by
phy_mask. Change to print all phys that are not found, and to reduce
the console boot log, change to use 'debug' instead of 'printf'.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/phy.c