ffec: Port to RTEMS

This commit is contained in:
Sebastian Huber
2017-08-22 17:44:27 +02:00
parent 807b5bb2c3
commit 95b102f733
4 changed files with 14 additions and 0 deletions

View File

@@ -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;
}