This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
PCMCIA package support for i386
- From: "AL Chane" <al_chane at issc dot com dot tw>
- To: "eCos discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 5 Sep 2002 14:30:50 +0800
- Subject: [ECOS] PCMCIA package support for i386
1. Are those BCRs in the SA1110 Assabet board coorresponding to the
registers in the PCMCIA controller (VADEM VG-468, for example)?
2. Is the "*attr" member in the struct cf_slot for attribute memory? How
about
members of "*io" and "* mem"? common memory? How to define the address
on PC?
> The platform I have is an NS-Geode CPU with a PCMCIA card (thru PC104
> interface)
> I'd like to try to put an i386 platform pcmcia driver, but don't know how
to
> start exactly.
>
> 1. Should I just follow those pcmcia supports for ARM SA1110? Leave the
> generic pcmcia
> support (io/pcmcia/pcmcia.c & pcmcia.h) unchanged and create a .c file
> similiar to
> cerf_pcmcia.c, ipaq_pcmcia.c...etc. ? Does Card Service for Linux help?
>
> 2. How do I define those SA1110_BCR_CF_POWER, SA1110_CF_DETECT...etc and
> Board Control Register function found in ipaq_pcmcia.c corresponding
to
> i386 platform?
> What hardware information do I need?
>
> 3. Does pcmcia controller matter? i got a VADEM VG-468
>
> thanks a lot for the helps
>
> AL
>
>
>
> > On Fri, 2002-08-23 at 01:59, AL Chane wrote:
> > > Has anyone tried PCMCIA ethernet driver package? I tired this package
> > > on an i386 target. No errors on building library. But errors showed
when
> > > complile
> > > with an application.
> > >
> > > Does eCos support for PCMCIA on i386?
> >
> > Not currently. PCMCIA support (like many of the device drivers)
> > is split into generic and platform specific portions. There is
> > no platform specific driver for the PC (partly because there are
> > so many and we never needed them for what we did). To get the
> > PCMCIA *anything* to work on a PC, you'll have to write the platform
> > driver stuff for it. It's not hard - just the details that describe
> > things like how to address the slots, turning on the power, etc.
> >
> > Sadly the only documentation is in the drivers themselves. Look
> > at devs/pcmcia/... for the platform details and io/pcmcia/... for
> > how the generic driver interacts with them.
> >
> > --
> > ------------------------------------------------------------
> > Gary Thomas |
> > eCosCentric, Ltd. |
> > +1 (970) 229-1963 | eCos & RedBoot experts
> > gthomas@ecoscentric.com |
> > http://www.ecoscentric.com/ |
> > ------------------------------------------------------------
> >
> >
> > --
> > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> >
> >
> >
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss