Changeset 95b102f in rtems-libbsd


Ignore:
Timestamp:
Aug 22, 2017, 3:44:27 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5283630d2c9d40deb0183696d278e02644fe4326, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
91a7527
Parents:
807b5bb
git-author:
Sebastian Huber <sebastian.huber@…> (08/22/17 15:44:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/27/17 09:02:06)
Message:

ffec: Port to RTEMS

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/ffec/if_ffec.c

    r807b5bb r95b102f  
    14651465                device_printf(sc->dev, "No valid 'phy-mode' "
    14661466                    "property found in FDT data for device.\n");
     1467#ifndef __rtems__
    14671468                error = ENOATTR;
     1469#else /* __rtems__ */
     1470                error = ENXIO;
     1471#endif /* __rtems__ */
    14681472                goto out;
    14691473        }
  • libbsd.py

    r807b5bb r95b102f  
    12211221    mod.addKernelSpaceHeaderFiles(
    12221222        [
     1223            'sys/dev/ffec/if_ffecreg.h',
    12231224            'sys/dev/mii/mii.h',
    12241225            'sys/dev/mii/mii_bitbang.h',
     
    12541255    mod.addKernelSpaceSourceFiles(
    12551256        [
     1257            'sys/dev/ffec/if_ffec.c',
    12561258            'sys/dev/mii/mii.c',
    12571259            'sys/dev/mii/mii_bitbang.c',
  • libbsd_waf.py

    r807b5bb r95b102f  
    16171617              'freebsd/sys/dev/fdt/fdt_common.c',
    16181618              'freebsd/sys/dev/fdt/simplebus.c',
     1619              'freebsd/sys/dev/ffec/if_ffec.c',
    16191620              'freebsd/sys/dev/fxp/if_fxp.c',
    16201621              'freebsd/sys/dev/kbd/kbd.c',
  • rtemsbsd/include/bsp/nexus-devices.h

    r807b5bb r95b102f  
    114114RTEMS_BSD_DRIVER_USB_MASS;
    115115
     116#elif defined(LIBBSP_ARM_IMX_BSP_H)
     117
     118RTEMS_BSD_DEFINE_NEXUS_DEVICE(ofwbus, 0, 0, NULL);
     119SYSINIT_DRIVER_REFERENCE(simplebus, ofwbus);
     120SYSINIT_DRIVER_REFERENCE(ffec, simplebus);
     121SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
     122
    116123#elif defined(LIBBSP_ARM_LPC24XX_BSP_H)
    117124
Note: See TracChangeset for help on using the changeset viewer.