This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problems with eth_drv_send


I am writing an ethernet device driver for the Netsilicon evaluation
board(NET+50). 
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
function.

Can anyone tell my what's wrong? 

thanks 
Harald

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]