mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 05:11:15 +08:00
ffec: Port to RTEMS
This commit is contained in:
@@ -1464,7 +1464,11 @@ ffec_attach(device_t dev)
|
||||
if (sc->phy_conn_type == PHY_CONN_UNKNOWN) {
|
||||
device_printf(sc->dev, "No valid 'phy-mode' "
|
||||
"property found in FDT data for device.\n");
|
||||
#ifndef __rtems__
|
||||
error = ENOATTR;
|
||||
#else /* __rtems__ */
|
||||
error = ENXIO;
|
||||
#endif /* __rtems__ */
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user