From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19904 invoked by alias); 3 Aug 2006 13:05:46 -0000 Received: (qmail 19896 invoked by uid 22791); 3 Aug 2006 13:05:46 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Aug 2006 13:05:41 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k73D5e0I008735; Thu, 3 Aug 2006 09:05:40 -0400 Received: from localhost.localdomain (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k73D5ewT013176; Thu, 3 Aug 2006 09:05:40 -0400 Received: from [172.16.50.139] (vpn50-139.rdu.redhat.com [172.16.50.139]) by localhost.localdomain (8.13.1/8.12.8) with ESMTP id k73D5cFZ024129; Thu, 3 Aug 2006 09:05:39 -0400 From: Mark Salter To: sumanth Cc: ecos-discuss@ecos.sourceware.org In-Reply-To: <5615274.post@talk.nabble.com> References: <5498126.post@talk.nabble.com> <5594188.post@talk.nabble.com> <1154446481.2834.10.camel@sadr.localdomain> <5615274.post@talk.nabble.com> Content-Type: text/plain Date: Thu, 03 Aug 2006 13:05:00 -0000 Message-Id: <1154610337.9042.6.camel@sadr.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 (2.6.2-1.fc5.5) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] RE: ixp42x NPE networking build issue X-SW-Source: 2006-08/txt/msg00028.txt.bz2 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