RTEMS  5.0.0
bsp.h
Go to the documentation of this file.
1 
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 
31 #include <bspopts.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 extern struct rtems_bsdnet_ifconfig *config;
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 
60 #endif
DEFAULT_INITIAL_EXTENSION Support.
struct rtems_bsdnet_ifconfig * config
Network driver configuration.