Re: How to convert linux ethernet driver to wince driver

From: Yannick Chamming's [eMVP] (ychammings_nospam_at_adeset.com)
Date: 01/20/05


Date: Thu, 20 Jan 2005 08:42:46 +0100

WinCE Ethernet driver are NDIS driver, which is not the case of Linux ones,
so it won't be easy to just "convert it"

You should probably redevelop the driver from a WinCE sample, and
potentially reinject low level portions of code from Linux driver for
hardware accesses.
Check your licensing, because I'm not sure you are allowed to include code
from Linux into CE (especially with GPL licence). In this case, you'll have
to perform reverse engineering on the Linux driver to recode it into CE.

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADESET
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
T閘  : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"Wang Yeqing" <wangyq@amoi.com.cn> wrote in message
news:uCNZ7Dq$EHA.2552@TK2MSFTNGP09.phx.gbl...
> PS: I have only linux source code.
>
> --
> Best wishes
> Wang Yeqing
> ***********************************************************
>   Intelligent Grouping Research and Development Institute
>                 Amoi Electronics Co., Ltd
>
> Tel: 86-592-6516777-6516
> ***********************************************************
>
> "Wang Yeqing" <wangyq@amoi.com.cn>
写入消息新闻:uN0IQ2p$EHA.2568@TK2MSFTNGP11.phx.gbl...
> >
> > Hi,
> > I am trying to do this work on converting linux ethernet driver to wince
> > driver.Because we have a lot of this ethernet card.
> > It is D-link DFE-670TXD.It is a PCMCIA 10/100Mbps NWay fast ethernet PC
> > card.
> > and it is compatible with NE2000.
> >
> > I have source code of this driver.
> >
> > Unfortunately,I have no data *** about this ethernet card.So I can not
> > understand
> > the source code.
> >
> > Could some one give suggestions about how to do this work Or how Can I
get
> > data *** of this card?
> > Is data *** of this card a business secret and I can NOT get it?
> >
> > --
> > Best wishes
> > Wang Yeqing
> > ***********************************************************
> >  Intelligent Grouping Research and Development Institute
> >                Amoi Electronics Co., Ltd
> >
> > Tel: 86-592-6516777-6516
> > ***********************************************************
> >
> >
>
>