Forum Discussion
Altera_Forum
Honored Contributor
15 years agoyes
I always start with dhcp disabled and fixed ip address ;). so I don't ping and telnet. I have see some information where there is a problem. In "ins_tse_mac.c", in "triple_speed_ethernet_init" function, it returns "ENP_HARDWARE" not for "p_driver_data" but for "psys_info". I can't see what I do or where I look for this problem. EDIT: after investigation : I see why have this error of psys_info. /* Get the pointer to the alt_tse_system_info structure from the global array */
for(i = 0; i < max_mac_system; i++) {
if(tse_mac_device.tse_mac_base == p_driver_data->hw_mac_base_addr) {
psys_info = &tse_mac_device;
} "p_driver_data->hw_mac_base_addr" is egal to my TRIPLE_SPEED_ETHERNET_0_BASE but not the "tse_mac_device[i].tse_mac_base" why ? I must add something to initialize it ?