Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHello Ted,
Thank you. I will go through the documentation over the weekend. As of now I dont care how Altera or InterNiche works. I just want to understand the cause of my problem. From other threads in forums, I found that the alt_iniche_dev_list is not having any alt_iniche_dev nodes, that is why it is returning the 'if_count'(interfaces found) as 0. The alt_iniche_dev node should be inserted into the alt_iniche_dev_list as part of the alt_sys_init( ), which will be called before the application main( ) function. The alt_sys_init( ) calls the ALTERA_AVALON_LAN91C111_INIT( LAN91C111, lan91c111 ); macro to register the lan91c111 driver(by adding to the alt_iniche_dev_list). So it seems the registering of lan91c111 is not happening properly. In my case it is Altera TSE instead of LAN91C111.