diff options
Diffstat (limited to 'drivers/net/ravb.c')
-rw-r--r-- | drivers/net/ravb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index f6d386b..5c152d6 100644 --- a/drivers/net/ravb.c +++ b/drivers/net/ravb.c @@ -679,7 +679,7 @@ int ravb_of_to_plat(struct udevice *dev) pdata->iobase = dev_read_addr(dev); pdata->phy_interface = dev_read_phy_mode(dev); - if (pdata->phy_interface == PHY_INTERFACE_MODE_NONE) + if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) return -EINVAL; pdata->max_speed = 1000; |