[ECOS] Documentation for new Ethernet driver interface?
Mon Dec 11 13:22:00 GMT 2000
> I'm trying to get my Ethernet driver that works with 1.3.1 to
> work with CVS code, but I can't seem to find any documentation
> on the new Ethernet driver interface. Can somebody lend me a
A few specific questions (based on my perusal of the edb7xxx
1) The DSR that is called now seems to be a generic Ethernet
DSR which then arranges for a future call to the "deliver"
callback pointing to what used to be the driver DSR.
The "deliver" callback is called from a thread context
rather than a DSR context.
2) What is the "poll" callback in ETH_DRV_SC for? It seems to
do almost the exact same thing that the deliver callback
3) What is done with the return value from the int_vector
callback? My driver uses three different interrupts, and
I'm not sure which one to put here. I'm guessing it's the
interrupt number for the interrupt that calls the DSR that
does mostly the same thing as the "deliver" callback?
4) The poll() and int_vector() callbacks seem not to be unused
in "net/eth_drv.c" and are used only in stand_alone/eth_drv.c.
Can I just put in stubs that do nothing for those two?
More information about the Ecos-discuss