diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2022-04-07 00:33:03 +0200 |
---|---|---|
committer | Ramon Fried <ramon@neureality.ai> | 2022-04-10 08:44:13 +0300 |
commit | ffb0f6f488b9eee2822c3c691778a26e1590694c (patch) | |
tree | f46ecb79f66b021439aef2838b8359d9e63b5cf7 /net/mdio-uclass.c | |
parent | 6706d7dcbee15ac41f3ddb50b31ff96d16567883 (diff) | |
download | u-boot-ffb0f6f488b9eee2822c3c691778a26e1590694c.zip u-boot-ffb0f6f488b9eee2822c3c691778a26e1590694c.tar.gz u-boot-ffb0f6f488b9eee2822c3c691778a26e1590694c.tar.bz2 |
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>
Diffstat (limited to 'net/mdio-uclass.c')
-rw-r--r-- | net/mdio-uclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c index 874f594..7593618 100644 --- a/net/mdio-uclass.c +++ b/net/mdio-uclass.c @@ -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); |