source: rtems-libbsd/rtemsbsd/include/machine/rtems-bsd-sysinit.h @ c7eec93

5-freebsd-12
Last change on this file since c7eec93 was c7eec93, checked in by Christian Mauderer <christian.mauderer@…>, on Aug 2, 2018 at 6:44:14 AM

Add RTEMS_BSD_CONFIG_IPSEC.

  • Property mode set to 100644
File size: 3.9 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup rtems_bsd_machine
5 *
6 * @brief TODO.
7 */
8
9/*
10 * Copyright (c) 2009, 2010 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Dornierstr. 4
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * Redistribution and use in source and binary forms, with or without
19 * modification, are permitted provided that the following conditions
20 * are met:
21 * 1. Redistributions of source code must retain the above copyright
22 *    notice, this list of conditions and the following disclaimer.
23 * 2. Redistributions in binary form must reproduce the above copyright
24 *    notice, this list of conditions and the following disclaimer in the
25 *    documentation and/or other materials provided with the distribution.
26 *
27 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
28 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
31 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * SUCH DAMAGE.
38 */
39
40#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_
41#define _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_
42
43#include <sys/cdefs.h>
44#include <sys/queue.h>
45#include <sys/kernel.h>
46
47#define SYSINIT_NEED_CRYPTODEV \
48        SYSINIT_MODULE_REFERENCE(cryptodev)
49
50#define SYSINIT_NEED_USB_CORE \
51        SYSINIT_REFERENCE(usb_quirk_init); \
52        SYSINIT_DRIVER_REFERENCE(uhub, usbus)
53
54#define SYSINIT_NEED_USB_OHCI \
55        SYSINIT_DRIVER_REFERENCE(ohci, nexus); \
56        SYSINIT_DRIVER_REFERENCE(usbus, ohci)
57
58#define SYSINIT_NEED_USB_EHCI \
59        SYSINIT_DRIVER_REFERENCE(ehci, nexus); \
60        SYSINIT_DRIVER_REFERENCE(usbus, ehci)
61
62#define SYSINIT_NEED_USB_MASS_STORAGE \
63        SYSINIT_DRIVER_REFERENCE(umass, uhub)
64
65#define SYSINIT_NEED_USB_MOUSE \
66        SYSINIT_DRIVER_REFERENCE(umass, uhub)
67
68#define SYSINIT_NEED_SDHC \
69        SYSINIT_DRIVER_REFERENCE(sdhci, nexus); \
70        SYSINIT_DRIVER_REFERENCE(mmc, sdhci); \
71        SYSINIT_DRIVER_REFERENCE(mmcsd, mmc)
72
73#define SYSINIT_NEED_PCIB \
74        SYSINIT_DRIVER_REFERENCE(legacy, nexus); \
75        SYSINIT_DRIVER_REFERENCE(pcib, legacy);  \
76        SYSINIT_DRIVER_REFERENCE(pci, pcib);
77
78#define SYSINIT_NEED_FIREWALL_PF \
79        SYSINIT_MODULE_REFERENCE(pf)
80
81#define SYSINIT_NEED_FIREWALL_PFLOG \
82        SYSINIT_MODULE_REFERENCE(pflog)
83
84#define SYSINIT_NEED_FIREWALL_PFSYNC \
85        SYSINIT_MODULE_REFERENCE(pfsync)
86
87#define SYSINIT_NEED_NET_PF_UNIX \
88        SYSINIT_DOMAIN_REFERENCE(local)
89
90#define SYSINIT_NEED_NET_IP_MROUTE \
91        SYSINIT_MODULE_REFERENCE(ip_mroute)
92
93#define SYSINIT_NEED_NET_IP6_MROUTE \
94        SYSINIT_MODULE_REFERENCE(ip6_mroute)
95
96#define SYSINIT_NEED_NET_IF_BFE \
97        SYSINIT_DRIVER_REFERENCE(bfe, pci)
98
99#define SYSINIT_NEED_NET_IF_GIF \
100        SYSINIT_MODULE_REFERENCE(if_gif)
101
102#define SYSINIT_NEED_NET_IF_RE \
103        SYSINIT_DRIVER_REFERENCE(re, pci)
104
105#define SYSINIT_NEED_NET_IF_EM \
106        SYSINIT_DRIVER_REFERENCE(em, pci)
107
108#define SYSINIT_NEED_NET_IF_IGB \
109        SYSINIT_DRIVER_REFERENCE(igb, pci)
110
111#define SYSINIT_NEED_NET_IF_LEM \
112        SYSINIT_DRIVER_REFERENCE(lem, pci)
113
114#define SYSINIT_NEED_NET_IF_BCE \
115        SYSINIT_DRIVER_REFERENCE(bce, pci)
116
117#define SYSINIT_NEED_NET_IF_BGE \
118        SYSINIT_DRIVER_REFERENCE(bge, pci)
119
120#define SYSINIT_NEED_NET_IF_FXP \
121        SYSINIT_DRIVER_REFERENCE(fxp, pci)
122
123#define SYSINIT_NEED_NET_IF_DC \
124        SYSINIT_DRIVER_REFERENCE(dc, pci)
125
126#define SYSINIT_NEED_NET_IF_BRIDGE \
127        SYSINIT_MODULE_REFERENCE(if_bridge)
128
129#define SYSINIT_NEED_NET_IF_LAGG \
130        SYSINIT_MODULE_REFERENCE(if_lagg)
131
132#define SYSINIT_NEED_NET_IF_VLAN \
133        SYSINIT_MODULE_REFERENCE(if_vlan)
134
135#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_ */
Note: See TracBrowser for help on using the repository browser.