Forum Discussion
Altera_Forum
Honored Contributor
19 years agoSUCCESS!!!!
I tried something different. I went into linux-2.6.x/drivers/net/smc91111.c, and commented out the auto-detect code (i.e. I let it succeed irrespective of the IRQ number that enters the function. With that change, the Ethernet came up, and I've been able to give it an IP address and ping Internet sites (with a suitable resolv.conf and default gateway, of course). Something I noticed in that file: There is a# define surrounding the function smc_findirq(), called NO_AUTOPROBE; presumably, it is not set correctly for Nios II if the function continues to be called (which I know it is, I had added some (temporary) debugs. Also, the corresponding code inside smc_probe() is inaccurate, since it blindly calls this function (and it is _not_ surrounded by the NO_AUTOPROBE define). So there might be a way to circumvent this by editing the smc91111.c file as well (not sure whether anyone else is running into this; frankly, I'm surprised that something like this hasn't shown up yet, given that I've seen many other folks using the 1s10 eval board on the forum). Anyways, I'm glad things are working now; I can proceed to the next step in my development plans. Thanks again, -- therrien