1#ifndef RTEMS_BSDNET_IF_MVE_PUBLIC_SYMBOLS_H
2#define RTEMS_BSDNET_IF_MVE_PUBLIC_SYMBOLS_H
49#include <rtems/rtems_bsdnet.h>
50#include <bsp/early_enet_link_status.h>
57extern int rtems_mve_attach(
struct rtems_bsdnet_ifconfig *,
int);
69#define BSP_MVE_IRQ_RX (1<<2)
70#define BSP_MVE_IRQ_TX (1<<0)
71#define BSP_MVE_IRQ_LINK (1<<16)
139struct mveth_private *
143 void (*cleanup_txbuf)(
void *user_buf,
void *cleanup_txbuf_arg,
int error_on_tx_occurred),
144 void *cleanup_txbuf_arg,
145 void *(*alloc_rxbuf)(
int *p_size, uintptr_t *p_data_addr),
146 void (*consume_rxbuf)(
void *user_buf,
void *consume_rxbuf_arg,
int len),
147 void *consume_rxbuf_arg,
159struct mveth_private *
162 void (*isr)(
void *isr_arg),
164 void (*cleanup_txbuf)(
void *user_buf,
void *cleanup_txbuf_arg,
int error_on_tx_occurred),
165 void *cleanup_txbuf_arg,
166 void *(*alloc_rxbuf)(
int *p_size, uintptr_t *p_data_addr),
167 void (*consume_rxbuf)(
void *user_buf,
void *consume_rxbuf_arg,
int len),
168 void *consume_rxbuf_arg,
188BSP_mve_init_hw(
struct mveth_private *mp,
int promisc,
unsigned char *enaddr);
196BSP_mve_mcast_filter_clear(
struct mveth_private *mp);
202BSP_mve_mcast_filter_accept_all(
struct mveth_private *mp);
220BSP_mve_mcast_filter_accept_add(
struct mveth_private *mp,
unsigned char *enaddr);
229BSP_mve_mcast_filter_accept_del(
struct mveth_private *mp,
unsigned char *enaddr);
235BSP_mve_stop_hw(
struct mveth_private *mp);
244BSP_mve_detach(
struct mveth_private *mp);
247BSP_mve_send_buf_raw(
struct mveth_private *mp,
void *head_p,
int h_len,
248 void *data_p,
int d_len);
269BSP_mve_send_buf(
struct mveth_private *mp,
void *m_head,
void *data_p,
int len);
279BSP_mve_swipe_tx(
struct mveth_private *mp);
288BSP_mve_swipe_rx(
struct mveth_private *mp);
292BSP_mve_read_eaddr(
struct mveth_private *mp,
unsigned char *eaddr);
304BSP_mve_media_ioctl(
struct mveth_private *mp,
int cmd,
int *parg);
316BSP_mve_enable_irqs(
struct mveth_private *mp);
320BSP_mve_disable_irqs(
struct mveth_private *mp);
326BSP_mve_ack_irqs(
struct mveth_private *mp);
334BSP_mve_enable_irq_mask(
struct mveth_private *mp, uint32_t irq_mask);
346BSP_mve_disable_irq_mask(
struct mveth_private *mp, uint32_t irq_mask);
360BSP_mve_ack_irq_mask(
struct mveth_private *mp, uint32_t mask);
379BSP_mve_ack_link_chg(
struct mveth_private *mp,
int *pmedia);
386BSP_mve_get_tid(
struct mveth_private *mp);
393BSP_mve_dump_stats(
struct mveth_private *mp, FILE *f);
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
Definition: early_enet_link_status.h:14