summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe_pub.h
blob: 8988f88a5c34eb4a12b66577f040296c960b7ee0 (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
/* $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