Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

ethernet_dev_list

Hello,

I am trying to run the lwIP with Opencores Ethernet MAC... i edited the lwip_web_server.c file to suit the opencores mac and included Nir's opencores drivers.

I am running the lwIP as standalone.

ALT_LLIST_HEAD(alt_ethernet_device_list);
opencores_ethernet_mac_if * dev_list_ptr =  (opencores_ethernet_mac_if *)alt_ethernet_device_list.next;

But when i run the program, the dev_list_ptr does not point to the ethernet device. (instead it points to junk values).

Can someone please tell me what may be going wrong? Thank you very much for any comments/advices.
No RepliesBe the first to reply