[ECOS] problems with eth_drv_send

Brandl Harald Harald.Brandl@fh-joanneum.at
Sun Mar 14 17:40:00 GMT 2004

I am writing an ethernet device driver for the Netsilicon evaluation
In my ecos configuration I use the freebsd network stack and I have selected
the "Address setups for 'eth0'" option in the initialization options.

After I've called "init_all_network_interfaces()" everthing seems to work
until the stack calls eth_drv_send. In this function my netarm_can_send
function is called which returns 1(one packet can be sent). When then the
"IF_DEQUEUE(&ifp->if_snd, m0);" macro is executed, the programm counter
jumps to "ether_ioctl" and I never reach the invocation of my netarm_send

Can anyone tell my what's wrong? 


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list