summaryrefslogtreecommitdiff
path: root/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe_pub.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe_pub.h')
-rw-r--r--c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe_pub.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe_pub.h b/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe_pub.h
new file mode 100644
index 0000000000..8988f88a5c
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe_pub.h
@@ -0,0 +1,31 @@
+/* $Id$ */
+#ifndef RTEMS_BSDNET_IF_GFE_PUBLIC_SYMBOLS_H
+#define RTEMS_BSDNET_IF_GFE_PUBLIC_SYMBOLS_H
+
+#include <rtems.h>
+#include <rtems/rtems_bsdnet.h>
+#include <bsp/early_enet_link_status.h>
+#include <net/ethernet.h>
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+extern int
+rtems_gfe_attach(struct rtems_bsdnet_ifconfig *, int);
+
+
+/* enet_addr must be 6 bytes long */
+int
+rtems_gfe_setup(int unit, char *enet_addr, uint32_t base_addr);
+
+extern rtems_bsdnet_early_link_check_ops
+rtems_gfe_early_link_check_ops;
+
+#ifdef __cplusplus
+ }
+#endif
+
+#endif
+
+