This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Lucent WaveLAN PC card with EBD72xxx
- To: Trenton Adams <trenton_adams at hotmail dot com>
- Subject: RE: [ECOS] Lucent WaveLAN PC card with EBD72xxx
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Tue, 05 Jun 2001 15:38:07 -0600 (MDT)
- Cc: eCos Discussion <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat, Inc.
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.