source: rtems-libbsd/testsuite/include/rtems/bsd/test/nic-sysinit.h @ f3b2913

4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since f3b2913 was f3b2913, checked in by Sebastian Huber <sebastian.huber@…>, on 10/09/13 at 12:29:38

Move core system initialization references

  • Property mode set to 100644
File size: 2.4 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup demo
5 *
6 * @brief TODO.
7 */
8
9/*
10 * COPYRIGHT (c) 2012. On-Line Applications Research Corporation (OAR).
11 * All rights reserved.
12 *
13 * Redistribution and use in source and binary forms, with or without
14 * modification, are permitted provided that the following conditions
15 * are met:
16 * 1. Redistributions of source code must retain the above copyright
17 *    notice, this list of conditions and the following disclaimer.
18 * 2. Redistributions in binary form must reproduce the above copyright
19 *    notice, this list of conditions and the following disclaimer in the
20 *    documentation and/or other materials provided with the distribution.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
23 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 */
34
35
36#include <machine/rtems-bsd-sysinit.h>
37
38/*
39 *  We "read" that and generate references and nexus devices
40 */
41
42#if defined(CONFIGURE_NEED_USB)
43  SYSINIT_NEED_USB_CORE;
44#endif
45#if defined(CONFIGURE_NEED_PCIB)
46  SYSINIT_NEED_PCIB;
47#endif
48#if defined(CONFIGURE_NEED_NET_IF_FXP)
49  SYSINIT_NEED_NET_IF_FXP;
50#endif
51#if defined(CONFIGURE_NEED_NET_IF_DC)
52  SYSINIT_NEED_NET_IF_DC;
53#endif
54#if defined(CONFIGURE_NEED_NET_IF_BFE)
55  SYSINIT_NEED_NET_IF_BFE;
56#endif
57#if defined(CONFIGURE_NEED_NET_IF_RE)
58  SYSINIT_NEED_NET_IF_RE;
59#endif
60#if defined(CONFIGURE_NEED_NET_IF_EM)
61  SYSINIT_NEED_NET_IF_EM;
62#endif
63#if defined(CONFIGURE_NEED_NET_IF_IGB)
64  SYSINIT_NEED_NET_IF_IGB;
65#endif
66#if defined(CONFIGURE_NEED_NET_IF_BCE)
67  SYSINIT_NEED_NET_IF_BCE;
68#endif
69#if defined(CONFIGURE_NEED_NET_IF_LEM)
70  SYSINIT_NEED_NET_IF_LEM;
71#endif
72#if defined(CONFIGURE_NEED_NET_IF_BGE)
73  SYSINIT_NEED_NET_IF_BGE; // does not link 29 June 2012
74#endif
75
76const char *const _bsd_nexus_devices [] = {
77        #if defined(CONFIGURE_NEED_PCIB)
78                "legacy",
79        #endif
80        NULL
81};
82
Note: See TracBrowser for help on using the repository browser.