Hello Christiaan Simons,

Thank you very much for your answer! I also received your e-mail.

Could you tell me in which programm I should call
netif_add(&netif, &ipaddr, &netmask, &gw, NULL, your_if_init, tcpip_input);
netif_set_default(&netif); ?

If I did that in the device driver altera_avalon_rtmac.c it would probably have no effect, because the device driver is not registered in alt_sys_init.c (which is automatically generated in the project system library).

In alt_sys_init.c there is written:
#include "altera_avalon_lan91c111.h"
but not
#include "altera_avalon_rtmac.h"
and I do not know how I could achieve that.
Do you have an idea?




View this message in context: Re: How can I make the lwIP stack communicate with a new Ethernet MAC?
Sent from the lwip-users forum at Nabble.com.
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to