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]

RE: eCos CVS <--> eCos 1.3.1 differences in net/eth_drv.



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.


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