Forum Discussion
Altera_Forum
Honored Contributor
21 years agoSecond ethernet port
I have a custom board with two 91c111 ethernet ports. uClinux recognizes the first port as eth0, but can't find eth1. I've tried the usual kernel parameters to autoprobe the second port, bu...
Altera_Forum
Honored Contributor
21 years agoHi gary... Scott is right... the na_xxx style variables are all hold overs from the Nios I days.
In the Nios II kernel, you'll find all na_xxx definitions within the kernel build include directory (...include/nios2_system.h). At the current point in time, whenever an LAN91C111 component is found, the base address and the irq for the component are stored in the na_enet and na_enet_irq symbols. The creation of the nios2_system.h file is handled by the kernel build process, and in particular, the scripts can be found within (...arch/nios2nommu/scripts). And yes, the high bit is always turned on during device access to bypass the cache.