This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: PCMCIA Slot State Location
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: RE: [ECOS] PCMCIA Slot State Location
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Thu, 21 Jun 2001 13:29:48 -0600 (MDT)
- Cc: eCos <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat, Inc.
On 21-Jun-2001 Trenton D. Adams wrote:
> This is one of the lines in the assabet PCMCIA Driver.
>
> unsigned long new_state = *(unsigned*)SA11X0_GPIO_PIN_LEVEL;
>
> SA11X0_GPIO_PIN_LEVEL must obviously be a memory address for card slot
> state information. Does anyone have any idea where this would be for
> the EDB7111-2 board?
>
> Also, is the slot state information standard between all PCMCIA
> devices?=
No, it's specific to your platform and all depends on what you need
to know to keep the cards & slots happy. Things like "is Vcc applied".
Note: the PCMCIA spec is very particular about such things, especially
the timing of how and when certain signals and voltages should be applied.