summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/nds/include/bsp.h
blob: cb3066435374c79f8f350dfb48f4f672aac5434b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com>
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 *
 * http://www.rtems.com/license/LICENSE
 */

#ifndef __BSP_H_
#define __BSP_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include <bspopts.h>
#include <rtems.h>
#include <rtems/iosupp.h>
#include <rtems/bspIo.h>
#include <rtems/console.h>
#include <rtems/clockdrv.h>

  struct rtems_bsdnet_ifconfig;

  int
    rtems_wifi_driver_attach (struct rtems_bsdnet_ifconfig *config,
                              int attach);

#define RTEMS_BSP_NETWORK_DRIVER_NAME	"dswifi0"
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH	rtems_wifi_driver_attach

#define RTC_DRIVER_TABLE_ENTRY \
    { rtc_initialize, NULL, NULL, NULL, NULL, NULL }
  extern rtems_device_driver rtc_initialize (rtems_device_major_number major,
                                             rtems_device_minor_number minor,
                                             void *arg);

#ifdef __cplusplus
}
#endif

#endif