RTEMS: bsps/mips/csb350/net/network.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
network.c File Reference
`#include <machine/rtems-bsd-kernel-space.h>`
`#include <rtems.h>`
`#include <rtems/rtems_bsdnet.h>`
`#include <bsp.h>`
`#include <rtems/bspIo.h>`
`#include <libcpu/au1x00.h>`
`#include <bsp/irq.h>`
`#include <stdio.h>`
`#include <string.h>`
`#include <errno.h>`
`#include <rtems/error.h>`
`#include <sys/param.h>`
`#include <sys/mbuf.h>`
`#include <sys/socket.h>`
`#include <sys/sockio.h>`
`#include <net/if.h>`
`#include <netinet/in.h>`
`#include <netinet/if_ether.h>`
`#include <assert.h>`

## Data Structures
struct | au1x00_emac_softc_t

## Macros
#define | NUM_IFACES 1
#define | NUM_TX_DMA_BUFS 4
#define | NUM_RX_DMA_BUFS 4
#define | START_TX_EVENT RTEMS_EVENT_1
#define | START_RX_EVENT RTEMS_EVENT_2
#define | TX_BUF_SIZE 2048

## Functions
rtems_isr | au1x00_emac_isr (rtems_vector_number vector)
int | rtems_au1x00_emac_attach (struct rtems_bsdnet_ifconfig *config, int attaching)
void | au1x00_emac_init (void *arg)
void | au1x00_emac_init_hw (au1x00_emac_softc_t *sc)
void | au1x00_emac_start (struct ifnet *ifp)
void | au1x00_emac_stop (au1x00_emac_softc_t *sc)
void | au1x00_emac_tx_daemon (void *arg)
void | au1x00_emac_rx_daemon (void *arg)
void | au1x00_emac_sendpacket (struct ifnet *ifp, struct mbuf *m)
void | au1x00_emac_stats (au1x00_emac_softc_t *sc)

## Variables
char | tx_buf_base [(4 *TX_BUF_SIZE)+32]
volatile int | wait_count

## Detailed Description

Au1x00 ethernet driver