[ECOS] eCos CVS <--> eCos 1.3.1 differences in net/eth_drv.

Gary Thomas gthomas@cambridge.redhat.com
Tue May 8 07:38:00 GMT 2001


On 08-May-2001 Ivan Jakab wrote:
> Hi,
> 
> I'm currently moving support for a MIPS R3041 based board from the eCos
> 1.3.1 tree to the current CVS tree. When building the eCos CVS tests I got
> messages that claimed undefined reference for eth_drv_init(), eth_drv_recv()
> and eth_drv_tx_done() in packages\io\serial\current\src\common\serial.c:xxx.
> When comparing the eth_drv.c, where those functions are defined, from the
> 1.3.1 and the CVS eCos I noticed that in the CVS they're defined as static.
> I changed their definition not be static (as they were in the 1.3.1 tree)
> and all the tests passed without any "undefined reference" messages. Why was
> the definition of those functions changed to be static? Am I missing
> something here?

These interfaces have now changed and must only be accessed via the function
tables (pointers).  Look at some of the other drivers for examples.



More information about the Ecos-discuss mailing list