Changeset 012c263 in rtems-libbsd


Ignore:
Timestamp:
Mar 30, 2015, 7:28:26 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
49b9c5e
Parents:
675acb2
git-author:
Sebastian Huber <sebastian.huber@…> (03/30/15 19:28:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/30/15 21:02:15)
Message:

VLAN(4): Enable and test

Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r675acb2 r012c263  
    14301430O_FILES += $(TEST_MEDIA01_O_FILES)
    14311431D_FILES += $(TEST_MEDIA01_D_FILES)
     1432
     1433TEST_VLAN01 = testsuite/vlan01/vlan01.exe
     1434TEST_VLAN01_O_FILES =
     1435TEST_VLAN01_D_FILES =
     1436TEST_VLAN01_O_FILES += testsuite/vlan01/test_main.o
     1437TEST_VLAN01_D_FILES += testsuite/vlan01/test_main.d
     1438$(TEST_VLAN01): $(TEST_VLAN01_O_FILES) $(LIB)
     1439        $(LINK.c) -Wl,-Map,testsuite/vlan01/vlan01.map $^ -lm -lz -o $@
     1440NET_TESTS += $(TEST_VLAN01)
     1441O_FILES += $(TEST_VLAN01_O_FILES)
     1442D_FILES += $(TEST_VLAN01_D_FILES)
     1443RUN_NET_TESTS += $(TEST_VLAN01)
    14321444LIB_C_FILES += dhcpcd/arp.c
    14331445dhcpcd/arp.o: dhcpcd/arp.c
  • freebsd-to-rtems.py

    r675acb2 r012c263  
    11#!/usr/bin/python
    22#
    3 #  Copyright (c) 2009-2013 embedded brains GmbH.  All rights reserved.
     3#  Copyright (c) 2009-2015 embedded brains GmbH.  All rights reserved.
    44#
    55#   embedded brains GmbH
     
    25402540tests.addTest('smp01', ['test_main'])
    25412541tests.addTest('media01', ['test_main'], runTest = False)
     2542tests.addTest('vlan01', ['test_main'], netTest = True)
    25422543
    25432544dhcpcd = Module('dhcpcd')
  • rtemsbsd/include/machine/rtems-bsd-sysinit.h

    r675acb2 r012c263  
    103103        SYSINIT_DRIVER_REFERENCE(dc, pci)
    104104
     105#define SYSINIT_NEED_NET_IF_VLAN \
     106        SYSINIT_MODULE_REFERENCE(if_vlan)
     107
    105108#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_ */
  • testsuite/include/rtems/bsd/test/default-init.h

    r675acb2 r012c263  
    7171
    7272SYSINIT_NEED_NET_PF_UNIX;
     73SYSINIT_NEED_NET_IF_VLAN;
    7374
    7475#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
  • testsuite/include/rtems/bsd/test/default-network-init.h

    r675acb2 r012c263  
    281281
    282282SYSINIT_NEED_NET_PF_UNIX;
     283SYSINIT_NEED_NET_IF_VLAN;
    283284
    284285#include <bsp/nexus-devices.h>
Note: See TracChangeset for help on using the changeset viewer.