From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12537 invoked by alias); 19 May 2005 12:36:48 -0000 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 Received: (qmail 11096 invoked from network); 19 May 2005 12:35:40 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (206.168.96.204) by sourceware.org with SMTP; 19 May 2005 12:35:40 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id CFF09100044; Thu, 19 May 2005 06:35:33 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 16230100031; Thu, 19 May 2005 06:35:26 -0600 (MDT) From: Gary Thomas To: Sriramkumar Raju Cc: eCos Discussion In-Reply-To: <7de07eff05051905235cf39dd8@mail.gmail.com> References: <7de07eff05051805267e5f9d7@mail.gmail.com> <7de07eff050518212540524ccb@mail.gmail.com> <7de07eff05051905235cf39dd8@mail.gmail.com> Content-Type: text/plain Date: Thu, 19 May 2005 14:43:00 -0000 Message-Id: <1116506125.22383.109.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] Adding VIA RHINE driver to i386 platform X-SW-Source: 2005-05/txt/msg00261.txt.bz2 On Thu, 2005-05-19 at 17:53 +0530, Sriramkumar Raju wrote: > Hi Nick, > Do me mean that i have to add Platform specific device > configurations for VIA RHINE on i386. > Exactly. Most drivers are divided into a generic portion (the part that understands the actual device and the work the driver needs to accomplish) plus a target/platform specific portion (which describes how the device is configured, addresses, interrupts, and such). Depending on the driver, the platform specific portion may come in the form of an include file or a driver wrapper. These details are described by the CDL for the driver. Look at other platforms which use the RHINE ethernet driver to see what needs to be done. > Regards, > Sriram.R > > On 19 May 2005 09:53:26 +0100, Nick Garnett wrote: > > Sriramkumar Raju writes: > > > > > > > > The build is successful and REDBOOT boots up with a message NO Network > > > Interface found. > > > > > > Also when i open the ecos.ecc that is generated in GUI based config > > > tool i can see VIA RHINE support not enabled. > > > > > > when i execute "$./ecosconfig.exe add CYGPKG_DEVS_ETH_VIA_RHINE" it > > > prompts me that the package is already present. > > > > > > Can anyone tell Me what i should do to add VIA RHINE support to i386 platform. > > > > In addition to the CYGPKG_DEVS_ETH_VIA_RHINE package you also need to > > have a package that adapts the generic driver to the specific > > hardware. Take a look at any of the other PC targets to see how this > > works. Also take a look at the documentation. > > > > The RHINE ethernet driver appears to have only ever been used for the > > sh7729pci board, so you may have to do a bit of work in the RHINE > > driver. You should be able to create the new package you need by > > combining one of the exising PC package with the sh7729pci package. > > > > > > > > -- > > Nick Garnett eCos Kernel Architect > > http://www.ecoscentric.com The eCos and RedBoot experts > > > > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss