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

4.115-freebsd-12freebsd-9.3
Last change on this file since f3b2913 was f3b2913, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 9, 2013 at 12:29:38 PM

Move core system initialization references

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[a9153ec]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 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 */
22
23#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_
24#define _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_
25
[e599318]26#include <sys/cdefs.h>
27#include <sys/queue.h>
28#include <sys/kernel.h>
[a9153ec]29
30#define SYSINIT_NEED_USB_CORE \
31        SYSINIT_REFERENCE(usb_quirk_init); \
32        SYSINIT_DRIVER_REFERENCE(uhub, usbus)
33
34#define SYSINIT_NEED_USB_OHCI \
35        SYSINIT_DRIVER_REFERENCE(ohci, nexus); \
36        SYSINIT_DRIVER_REFERENCE(usbus, ohci)
37
38#define SYSINIT_NEED_USB_EHCI \
39        SYSINIT_DRIVER_REFERENCE(ehci, nexus); \
40        SYSINIT_DRIVER_REFERENCE(usbus, ehci)
41
42#define SYSINIT_NEED_USB_MASS_STORAGE \
43        SYSINIT_DRIVER_REFERENCE(umass, uhub)
44
45#define SYSINIT_NEED_USB_MOUSE \
46        SYSINIT_DRIVER_REFERENCE(umass, uhub)
47
48#define SYSINIT_NEED_SDHC \
49        SYSINIT_DRIVER_REFERENCE(sdhci, nexus); \
50        SYSINIT_DRIVER_REFERENCE(mmc, sdhci); \
51        SYSINIT_DRIVER_REFERENCE(mmcsd, mmc)
52
[b9fa3c9]53#define SYSINIT_NEED_PCIB \
[36ebd68]54        SYSINIT_DRIVER_REFERENCE(legacy, nexus); \
55        SYSINIT_DRIVER_REFERENCE(pcib, legacy);  \
[b9fa3c9]56        SYSINIT_DRIVER_REFERENCE(pci, pcib);
57
[06e6d19]58#define SYSINIT_NEED_NET_IF_BFE \
59        SYSINIT_DRIVER_REFERENCE(bfe, pci)
60
61#define SYSINIT_NEED_NET_IF_RE \
62        SYSINIT_DRIVER_REFERENCE(re, pci)
63
64#define SYSINIT_NEED_NET_IF_EM \
65        SYSINIT_DRIVER_REFERENCE(em, pci)
66
67#define SYSINIT_NEED_NET_IF_IGB \
68        SYSINIT_DRIVER_REFERENCE(igb, pci)
69
70#define SYSINIT_NEED_NET_IF_LEM \
71        SYSINIT_DRIVER_REFERENCE(lem, pci)
72
73#define SYSINIT_NEED_NET_IF_BCE \
74        SYSINIT_DRIVER_REFERENCE(bce, pci)
75
76#define SYSINIT_NEED_NET_IF_BGE \
77        SYSINIT_DRIVER_REFERENCE(bge, pci)
78
79#define SYSINIT_NEED_NET_IF_FXP \
80        SYSINIT_DRIVER_REFERENCE(fxp, pci)
81
82#define SYSINIT_NEED_NET_IF_DC \
83        SYSINIT_DRIVER_REFERENCE(dc, pci)
[a9153ec]84
85/* FIXME */
86extern const char *const _bsd_nexus_devices [];
87
88#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_ */
Note: See TracBrowser for help on using the repository browser.