summaryrefslogtreecommitdiff
path: root/include/arm/nds/bsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arm/nds/bsp.h')
-rw-r--r--include/arm/nds/bsp.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/include/arm/nds/bsp.h b/include/arm/nds/bsp.h
new file mode 100644
index 0000000000..8b795e288f
--- /dev/null
+++ b/include/arm/nds/bsp.h
@@ -0,0 +1,43 @@
+/*
+ * 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.org/license/LICENSE
+ */
+
+#ifndef LIBBSP_ARM_NDS_H
+#define LIBBSP_ARM_NDS_H
+
+#include <bspopts.h>
+#include <bsp/default-initial-extension.h>
+#include <rtems.h>
+#include <rtems/iosupp.h>
+#include <rtems/bspIo.h>
+#include <rtems/console.h>
+#include <rtems/clockdrv.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+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