]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: ravb: Support fixed PHY in R-Car
authorMikhail Lappo <mikhail.lappo@esrlabs.com>
Mon, 27 Feb 2023 23:04:11 +0000 (00:04 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 18 Mar 2023 11:02:38 +0000 (12:02 +0100)
commitd797a8ccb2d0ea2e90b01b72e61cee3f248a343a
tree21597995734df9661c8b036b3008f7374f8ce728
parent495211a48902c657bc63ea60f8ca4263ffabb0d3
net: ravb: Support fixed PHY in R-Car

Calling old U-Boot API doesn't allow to use fixed PHY.
Searching by mask is the part of new function, after
scanning FDT for a fixed PHY definition

Fixes: e821a7bdb13 ("net: ravb: Detect PHY correctly")
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Mikhail Lappo <mikhail.lappo@esrlabs.com>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
[Hai Pham: Drop phy_connect_dev since it's called in phy_connect]
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
[Marek: Use mask -1 instead of 0 to reinstate the search behavior
        over all PHY addresses. Add Fixes tag, sort the tag list.]
drivers/net/ravb.c