Name

cyg_lwip_eth_ecos_init() — Initialize the hardware driver

Synopsis

#include <cyg/io/eth/eth_drv.h>

void cyg_lwip_eth_ecos_init(void);

Description

This function should perform the necessary hardware initialization, along with attaching any required eCos ISR and DSR support. As part of the initialization the upper-layer (generic) ethernet driver routine cyg_lwip_eth_drv_init_netif() should be called.

The direct driver DSR should call the lwIP routine cyg_lwip_eth_dsr() on completion of its DSR handling to ensure the lwIP delivery mechanism is notified.