5
Last change
on this file since 8bd4f61c was
8bd4f61c,
checked in by Sebastian Huber <sebastian.huber@…>, on 05/06/19 at 05:56:01
|
bsps: Remove bogus config declaration
Replace it with a proper struct rtems_bsdnet_ifconfig forward
declaration.
Close #3742.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup RTEMSBSPsMIPSCSB350 |
---|
5 | * |
---|
6 | * @brief Global BSP definitions. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * COPYRIGHT (c) 1989-2012. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.rtems.org/license/LICENSE. |
---|
16 | */ |
---|
17 | |
---|
18 | #ifndef LIBBSP_MIPS_CSB350_BSP_H |
---|
19 | #define LIBBSP_MIPS_CSB350_BSP_H |
---|
20 | |
---|
21 | /** |
---|
22 | * @defgroup RTEMSBSPsMIPSCSB350 CSB350 |
---|
23 | * |
---|
24 | * @ingroup RTEMSBSPsMIPS |
---|
25 | * |
---|
26 | * @brief CSB350 Board Support Package. |
---|
27 | * |
---|
28 | * @{ |
---|
29 | */ |
---|
30 | |
---|
31 | #include <bspopts.h> |
---|
32 | #include <bsp/default-initial-extension.h> |
---|
33 | |
---|
34 | #include <rtems.h> |
---|
35 | #include <libcpu/au1x00.h> |
---|
36 | |
---|
37 | #ifdef __cplusplus |
---|
38 | extern "C" { |
---|
39 | #endif |
---|
40 | |
---|
41 | #define BSP_FEATURE_IRQ_EXTENSION |
---|
42 | #define BSP_SHARED_HANDLER_SUPPORT 1 |
---|
43 | |
---|
44 | /* |
---|
45 | * Network driver configuration |
---|
46 | */ |
---|
47 | struct rtems_bsdnet_ifconfig; |
---|
48 | |
---|
49 | int rtems_au1x00_emac_attach(struct rtems_bsdnet_ifconfig *config, |
---|
50 | int attaching); |
---|
51 | #define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0" |
---|
52 | #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_au1x00_emac_attach |
---|
53 | |
---|
54 | #ifdef __cplusplus |
---|
55 | } |
---|
56 | #endif |
---|
57 | |
---|
58 | /** @} */ |
---|
59 | |
---|
60 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.