Re: How to convert linux ethernet driver to wince driver

From: Wang Yeqing (wangyq_at_amoi.com.cn)
Date: 01/20/05


Date: Thu, 20 Jan 2005 16:57:06 +0800

I am reading the linux source code now.But I have no knowledge of this card.
I don't know how to send command,receive data,and know little about how to
configure the registers.

I think if I have the data *** of this card,the work will be a little
easier.

But how can I get the data ***.I have access to www.d-link.com.
But I found only information about how to use this card.There is no
information about how to write driver for this card.
I think if I did not work for this convertion I will care little about how
to write driver for ethernet card,because manufacturer has done everything
for you.

Unfortunately,I need to know how to write driver for this card.So I think I
must have the data *** of this card,Or I think I can not do this work
well.

Could some one give some help?

Thanks in advance.

-- 
Best wishes
Wang Yeqing
***********************************************************
  Intelligent Grouping Research and Development Institute
                Amoi Electronics Co., Ltd
Tel: 86-592-6516777-6516
***********************************************************
"Yannick Chamming's [eMVP]" <ychammings_nospam@adeset.com> 写入消息新闻:uhOWjOs$EHA.2880@TK2MSFTNGP14.phx.gbl...
> 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
>> > ***********************************************************
>> >
>> >
>>
>>
>
>