[ECOS] Redboot Ethernet Driver Functions

Erik Reikes ereikes@hotmail.com
Wed Mar 6 15:14:00 GMT 2002

Scratch the following potion of my question.  RTFM or in this case RTFMLA 
where MLA stands for Mailing List Archives.

>On a side not my compile of ecos with the FEC ethernet driver and common
>ethernet support fails thusly :
>In function `fec_eth_init':
>warning: asm operand 0 probably doesn't match constraints
>invalid lvalue in assignment
>warning: `proc_rev' might be used uninitialized in this function
>inconsistent operand constraints in an `asm'
>make[1]: *** [src/if_fec.o.d] Error 1
>line 260 of if_fec.c looks like :
>and CYGARC_MFSPR from ppc_regs.h looks like :
>#define CYGARC_MFSPR(_spr_, _v_) \
>    asm volatile ("mfspr %0, %1;" : "=r" (_v_) : "I" (_spr_));
>I guess its that =r that's fouling things.
>-Erik Reikes

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

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

More information about the Ecos-discuss mailing list