This is the mail archive of the ecos-discuss@sourceware.org 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]

Re: RE: ixp42x NPE networking build issue


On Wed, 2006-08-02 at 07:46 -0700, sumanth wrote:
> HI Mark,
>                You are correct, it is the array where the microcode is
> there, Now am able to analyze that i am failing at the regisering the device
> in the ecos cyg_netdevtab_entry , am unable to create the entry to the
> device , any pointers in this case.
> Thanks for your guidence

The entry is created at build time at the bottom of if_npe.c, but only
for those NPEs which are configured to be used. The platform specific
.inl file is used to tell the generic if_npe.c code which ports to use.
For instance, devs/eth/arm/ixdp425/cur/include/ixdp425_npe.inl has:

  ...
#define CYGSEM_INTEL_NPE_USE_ETH0
#define CYGNUM_ETH0_ETH_ID    IX_ETH_PORT_1
#define CYGNUM_ETH0_PHY_NO    0
 ...
#define CYGSEM_INTEL_NPE_USE_ETH1
#define CYGNUM_ETH1_ETH_ID    IX_ETH_PORT_2
#define CYGNUM_ETH1_PHY_NO    1
 ...

--Mark





-- 
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]