mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA
Rename constant PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA to make it compatible with Linux' naming. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
This commit is contained in:
parent
6706d7dcbe
commit
ffb0f6f488
61 changed files with 105 additions and 105 deletions
|
@ -199,8 +199,8 @@ struct phy_device *dm_eth_phy_connect(struct udevice *ethdev)
|
|||
}
|
||||
|
||||
interface = dev_read_phy_mode(ethdev);
|
||||
if (interface == PHY_INTERFACE_MODE_NONE)
|
||||
dev_dbg(ethdev, "can't find interface mode, default to NONE\n");
|
||||
if (interface == PHY_INTERFACE_MODE_NA)
|
||||
dev_dbg(ethdev, "can't find interface mode, default to NA\n");
|
||||
|
||||
phy = dm_eth_connect_phy_handle(ethdev, interface);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue