public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Lucent WaveLAN PC card with EBD72xxx
@ 2001-06-05 13:17 Trenton Adams
  2001-06-05 13:48 ` Gary Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Trenton Adams @ 2001-06-05 13:17 UTC (permalink / raw)
  To: ecos-discuss

Has anyone used the WaveLAN PC Card modem with eCos?  If so, is there a 
driver readily available for it?  We're doing a project that requires radio 
network communications from a Cirrus EBD7211-2 board to a PC.

If there isn't a driver available for it, where do I look for information on 
writing PCMCIA device drivers for PC Cards running under eCos on the Cirrus 
board?

I have the source for the Linux driver for a PC.  If I have to write a 
driver, would it be easier to modify this driver, or just write a new one?
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [ECOS] Lucent WaveLAN PC card with EBD72xxx
  2001-06-05 13:17 [ECOS] Lucent WaveLAN PC card with EBD72xxx Trenton Adams
@ 2001-06-05 13:48 ` Gary Thomas
  2001-06-05 14:33   ` Jonathan Larmour
  0 siblings, 1 reply; 10+ messages in thread
From: Gary Thomas @ 2001-06-05 13:48 UTC (permalink / raw)
  To: Trenton Adams; +Cc: ecos-discuss

On 05-Jun-2001 Trenton Adams wrote:
> Has anyone used the WaveLAN PC Card modem with eCos?  If so, is there a 
> driver readily available for it?  We're doing a project that requires radio 
> network communications from a Cirrus EBD7211-2 board to a PC.
> 
> If there isn't a driver available for it, where do I look for information on 
> writing PCMCIA device drivers for PC Cards running under eCos on the Cirrus 
> board?
> 
> I have the source for the Linux driver for a PC.  If I have to write a 
> driver, would it be easier to modify this driver, or just write a new one?

You actually have two problems here.  First, there is no PCMCIA driver for
the EDB7xxx.  This shouldn't be too hard to write.  There are a couple of
examples - just look in ${ECOS_REPOSITORY}/devs/pcmcia

The second problem will be to write the WaveLAN driver.  I'd suggest that
you use the Linux driver for reference, but start from a similar device.
The only PCMCIA (actually Compact Flash, but it's really the same) network
driver we have is for the Socket LP-Ethernet.  Look in .../devs/eth/cf

Give it a look.  I'll be glad to answer any questions you might have.

Note: I'd probably do this in two steps.  First by doing the PCMCIA driver
and testing it with the known working card.  Then write the network driver
for the card you have.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Lucent WaveLAN PC card with EBD72xxx
  2001-06-05 13:48 ` Gary Thomas
@ 2001-06-05 14:33   ` Jonathan Larmour
  2001-06-06  1:02     ` Daniel Néri
  0 siblings, 1 reply; 10+ messages in thread
From: Jonathan Larmour @ 2001-06-05 14:33 UTC (permalink / raw)
  To: Trenton Adams; +Cc: ecos-discuss

Gary Thomas wrote:
> 
> The second problem will be to write the WaveLAN driver.  I'd suggest that
> you use the Linux driver for reference, but start from a similar device.

Note: if you actually use any Linux code you will not be able to legally
redistribute the result. If you don't intend to redistribute it (it's for
your own use only), then this doesn't matter.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Lucent WaveLAN PC card with EBD72xxx
  2001-06-05 14:33   ` Jonathan Larmour
@ 2001-06-06  1:02     ` Daniel Néri
  0 siblings, 0 replies; 10+ messages in thread
From: Daniel Néri @ 2001-06-06  1:02 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: Trenton Adams, ecos-discuss

Jonathan Larmour <jlarmour@redhat.com> writes:

> Note: if you actually use any Linux code you will not be able to legally
> redistribute the result.

Given that the TCP/IP-stack is from BSD, you might also check out the
WaveLAN drivers in any of the BSDs (avoiding the "GPL problem"):

  http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/if_wi.c?rev=1.1&content-type=text/x-cvsweb-markup

  http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/wi/if_wi.c?rev=1.54&content-type=text/x-cvsweb-markup


Regards,
   --Daniel

-- 
Daniel Neri                                      mailto:dn@sigicom.com
Sigicom AB, Sweden                              http://www.sigicom.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Lucent WaveLAN PC card with EBD72xxx
@ 2001-06-06  7:31 Trenton Adams
  0 siblings, 0 replies; 10+ messages in thread
From: Trenton Adams @ 2001-06-06  7:31 UTC (permalink / raw)
  To: daniel.neri, jlarmour; +Cc: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]

Thank you.  Once I get my new work computer setup today, I'll do just that.


>From: daniel.neri@sigicom.com (Daniel Néri)
>To: Jonathan Larmour <jlarmour@redhat.com>
>CC: Trenton Adams <trenton_adams@hotmail.com>,   
>ecos-discuss@sourceware.cygnus.com
>Subject: Re: [ECOS] Lucent WaveLAN PC card with EBD72xxx
>Date: 06 Jun 2001 10:01:19 +0200
>
>Jonathan Larmour <jlarmour@redhat.com> writes:
>
> > Note: if you actually use any Linux code you will not be able to legally
> > redistribute the result.
>
>Given that the TCP/IP-stack is from BSD, you might also check out the
>WaveLAN drivers in any of the BSDs (avoiding the "GPL problem"):
>
>   
> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/if_wi.c?rev=1.1&content-type=text/x-cvsweb-markup
>
>   
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/wi/if_wi.c?rev=1.54&content-type=text/x-cvsweb-markup
>
>
>Regards,
>    --Daniel
>
>--
>Daniel Neri                                      mailto:dn@sigicom.com
>Sigicom AB, Sweden                              http://www.sigicom.com
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Lucent WaveLAN PC card with EBD72xxx
  2001-06-05 14:37 Trenton Adams
@ 2001-06-05 15:21 ` Jonathan Larmour
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Larmour @ 2001-06-05 15:21 UTC (permalink / raw)
  To: Trenton Adams; +Cc: ecos-discuss

Trenton Adams wrote:
> 
> Linux code is under the GNU general public license is it not?

Yes, but this conflicts with the RHEPL unfortunately.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [ECOS] Lucent WaveLAN PC card with EBD72xxx
  2001-06-05 15:15 Trenton Adams
@ 2001-06-05 15:20 ` Gary Thomas
  0 siblings, 0 replies; 10+ messages in thread
From: Gary Thomas @ 2001-06-05 15:20 UTC (permalink / raw)
  To: Trenton Adams; +Cc: ecos-discuss

On 05-Jun-2001 Trenton Adams wrote:
> As for those locations you gave me, they aren't valid on my eCos 1.3.1.  
> There is no devs/pcmcia/, or devs/eth/.  Do I need to get the latest CVS?
> 

You need the CVS sources - 1.3.1 is now 15 months old - a glacial age in
"internet" time :-)

> p.s.
> It would be nice if the list would make the reply-to field point to 
> ecos-discuss rather than the sender of the email.  Then people wouldn't have 
> to worry about clicking reply-to-all :)
> 

We've had this discussion more times than you'd care to know about.  For now,
we just have to remember to be careful to include the proper parties when
replying.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [ECOS] Lucent WaveLAN PC card with EBD72xxx
@ 2001-06-05 15:15 Trenton Adams
  2001-06-05 15:20 ` Gary Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Trenton Adams @ 2001-06-05 15:15 UTC (permalink / raw)
  To: gthomas; +Cc: ecos-discuss

Sorry about the direct email.  I meant to send it to both, I didn't realize 
it until after I sent it.

By Royal Linux, I mean an embedded linux.  Anyhow, I doubt they are 
compatible.  On top of that Royal Linux doesn't have PCMCIA support.  I 
thought it did, but it doesn't.

As for those locations you gave me, they aren't valid on my eCos 1.3.1.  
There is no devs/pcmcia/, or devs/eth/.  Do I need to get the latest CVS?

p.s.
It would be nice if the list would make the reply-to field point to 
ecos-discuss rather than the sender of the email.  Then people wouldn't have 
to worry about clicking reply-to-all :)



>From: Gary Thomas <gthomas@cambridge.redhat.com>
>To: Trenton Adams <trenton_adams@hotmail.com>
>CC: ecos-discuss@sourceware.cygnus.com
>Subject: RE: [ECOS] Lucent WaveLAN PC card with EBD72xxx
>Date: Tue, 05 Jun 2001 14:47:54 -0600 (MDT)
>
>
>On 05-Jun-2001 Trenton Adams wrote:
> > Has anyone used the WaveLAN PC Card modem with eCos?  If so, is there a
> > driver readily available for it?  We're doing a project that requires 
>radio
> > network communications from a Cirrus EBD7211-2 board to a PC.
> >
> > If there isn't a driver available for it, where do I look for 
>information on
> > writing PCMCIA device drivers for PC Cards running under eCos on the 
>Cirrus
> > board?
> >
> > I have the source for the Linux driver for a PC.  If I have to write a
> > driver, would it be easier to modify this driver, or just write a new 
>one?
>
>You actually have two problems here.  First, there is no PCMCIA driver for
>the EDB7xxx.  This shouldn't be too hard to write.  There are a couple of
>examples - just look in ${ECOS_REPOSITORY}/devs/pcmcia
>
>The second problem will be to write the WaveLAN driver.  I'd suggest that
>you use the Linux driver for reference, but start from a similar device.
>The only PCMCIA (actually Compact Flash, but it's really the same) network
>driver we have is for the Socket LP-Ethernet.  Look in .../devs/eth/cf
>
>Give it a look.  I'll be glad to answer any questions you might have.
>
>Note: I'd probably do this in two steps.  First by doing the PCMCIA driver
>and testing it with the known working card.  Then write the network driver
>for the card you have.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [ECOS] Lucent WaveLAN PC card with EBD72xxx
       [not found] <F214MnU5JzUIDk4JdxV0001a24d@hotmail.com>
@ 2001-06-05 14:38 ` Gary Thomas
  0 siblings, 0 replies; 10+ messages in thread
From: Gary Thomas @ 2001-06-05 14:38 UTC (permalink / raw)
  To: Trenton Adams; +Cc: eCos Discussion

Note: my previous response was not an offer of private support.  We provide
help via the 'ecos-discuss' mailing list only.  This will be the only time
I respond to you unless the questions are sent to the mailing list.  Sorry,
but that's the policy.

On 05-Jun-2001 Trenton Adams wrote:
> Ok, thanks.
> I have a slight problem.  I've never written a device driver before for any 
> OS.  I consider my self to be quite a talented programmer though.  
> Considering this, do you really think that it's worth for me to write a 
> driver for them?  Maybe I should just go to Royal Linux that comes with the 
> board?  Do you know if the Royal Linux PCMCIA driver would work or not under 
> eCos?

The Linux driver will not work directly with eCos - they are completely different
systems.

You can choose which system you want.  It all depends on your needs and what
you're looking for.

Don't forget eCos != Linux, so there's really no way to compare them.  

> 
> If there's some good information on these topics, then I probably won't have 
> much trouble writing a driver, I just don't know where to start.  On top of 
> that, I don't have a PC Card of any kind that already has a driver developed 
> for the EDB7211-2 board.  So, how would I go about testing the PCMCIA 
> driver?

In that case, you'll probably end up debugging both parts (PCMCIA framework
and network driver) at the same time.  I was just suggesting a shortcut (the
Socket LPE card only costs $150 I think).

> 
> p.s.
> When I was doing my research about eCos, I heard about a PCMCIA driver for 
> it somewhere.  I know it wasn't on the eCos supported hardware list, but I'm 
> pretty sure it was somewhere on the eCos website.  Anyone have any ideas 
> about this?
> 

On our website you'll find documentation on eCos, as well as device driver
and porting guides.  However, the best path forward will be to look at 
existing drivers - the source is out there - I've already given the paths.

> 
>>From: Gary Thomas <gthomas@cambridge.redhat.com>
>>To: Trenton Adams <trenton_adams@hotmail.com>
>>CC: ecos-discuss@sourceware.cygnus.com
>>Subject: RE: [ECOS] Lucent WaveLAN PC card with EBD72xxx
>>Date: Tue, 05 Jun 2001 14:47:54 -0600 (MDT)
>>
>>
>>On 05-Jun-2001 Trenton Adams wrote:
>> > Has anyone used the WaveLAN PC Card modem with eCos?  If so, is there a
>> > driver readily available for it?  We're doing a project that requires 
>>radio
>> > network communications from a Cirrus EBD7211-2 board to a PC.
>> >
>> > If there isn't a driver available for it, where do I look for 
>>information on
>> > writing PCMCIA device drivers for PC Cards running under eCos on the 
>>Cirrus
>> > board?
>> >
>> > I have the source for the Linux driver for a PC.  If I have to write a
>> > driver, would it be easier to modify this driver, or just write a new 
>>one?
>>
>>You actually have two problems here.  First, there is no PCMCIA driver for
>>the EDB7xxx.  This shouldn't be too hard to write.  There are a couple of
>>examples - just look in ${ECOS_REPOSITORY}/devs/pcmcia
>>
>>The second problem will be to write the WaveLAN driver.  I'd suggest that
>>you use the Linux driver for reference, but start from a similar device.
>>The only PCMCIA (actually Compact Flash, but it's really the same) network
>>driver we have is for the Socket LP-Ethernet.  Look in .../devs/eth/cf
>>
>>Give it a look.  I'll be glad to answer any questions you might have.
>>
>>Note: I'd probably do this in two steps.  First by doing the PCMCIA driver
>>and testing it with the known working card.  Then write the network driver
>>for the card you have.
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] Lucent WaveLAN PC card with EBD72xxx
@ 2001-06-05 14:37 Trenton Adams
  2001-06-05 15:21 ` Jonathan Larmour
  0 siblings, 1 reply; 10+ messages in thread
From: Trenton Adams @ 2001-06-05 14:37 UTC (permalink / raw)
  To: jlarmour; +Cc: ecos-discuss

Linux code is under the GNU general public license is it not?


>From: Jonathan Larmour <jlarmour@redhat.com>
>To: Trenton Adams <trenton_adams@hotmail.com>
>CC: ecos-discuss@sourceware.cygnus.com
>Subject: Re: [ECOS] Lucent WaveLAN PC card with EBD72xxx
>Date: Tue, 05 Jun 2001 22:33:14 +0100
>
>Gary Thomas wrote:
> >
> > The second problem will be to write the WaveLAN driver.  I'd suggest 
>that
> > you use the Linux driver for reference, but start from a similar device.
>
>Note: if you actually use any Linux code you will not be able to legally
>redistribute the result. If you don't intend to redistribute it (it's for
>your own use only), then this doesn't matter.
>
>Jifl
>--
>Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
>Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
>Come to the Red Hat TechWorld open source conference in Brussels!
>Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-06-06  7:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-05 13:17 [ECOS] Lucent WaveLAN PC card with EBD72xxx Trenton Adams
2001-06-05 13:48 ` Gary Thomas
2001-06-05 14:33   ` Jonathan Larmour
2001-06-06  1:02     ` Daniel Néri
2001-06-05 14:37 Trenton Adams
2001-06-05 15:21 ` Jonathan Larmour
     [not found] <F214MnU5JzUIDk4JdxV0001a24d@hotmail.com>
2001-06-05 14:38 ` Gary Thomas
2001-06-05 15:15 Trenton Adams
2001-06-05 15:20 ` Gary Thomas
2001-06-06  7:31 Trenton Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).