PCMCIA use

4 messages, 4 authors, 1999-10-20 · open the first message on its own page

PCMCIA use

From: Jim Lewis <hidden>
Date: 1999-10-20 13:56:30

Hello,

Has anyone out there done anything with PCMCIA on the 8xx?

Thanks,

--
Jim Lewis
Sr. Field Applications Engineer
MontaVista Software, Inc.
(817)261-9088 http://www.mvista.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: PCMCIA use

From: Magnus Damm <hidden>
Date: 1999-10-20 14:00:16

Hello,

Has anyone out there done anything with PCMCIA on the 8xx?
Have a look at the IDE code. (8xx specific part)!
And check out the fadsrom code.

I tried to do some CIS parsing code a while ago, but I ended
up with some cards working, some not. 

Maybe we should use the pcmcia-cs package and modify it?
 
Good luck! 

/ magnus

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: PCMCIA use

From: Mark S. Mathews <hidden>
Date: 1999-10-20 14:23:53


pcmcia-cs hasn't been ported to the 8xx yet.  Adding the 8xx pcmcia setup
code necessary to initialize a slot and bring up a specific card isn't
that hard.  I've done it on other platform...just not Linux yet.

-Mark 

On Wed, 20 Oct 1999, Jim Lewis wrote:
Hello,

Has anyone out there done anything with PCMCIA on the 8xx?

Thanks,

--
Jim Lewis
Sr. Field Applications Engineer
MontaVista Software, Inc.
(817)261-9088 http://www.mvista.com

Mark S. Mathews

AbsoluteValue Software     Web:    http://www.absoval.com
P.O. Box 941149            e-mail: mark@absoval.com
Maitland, FL 32794-1149    Phone:  407.644.8582
USA                        Fax:    407.539.1294


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: PCMCIA use

From: Dan Malek <hidden>
Date: 1999-10-20 17:37:24

Jim Lewis wrote:
Hello,

Has anyone out there done anything with PCMCIA on the 8xx?
Yes.  I put some hacks in the kernel to support an ATA/IDE
flash card.  At one time this worked, and with the IDE and
interrupt stuff changing so much recently I am not sure if
it works any longer.  Look in the arch/ppc/kernel/m8xx_setup.c
file.  I have some more elaborate functions if you need
better examples.

In addition to what is there, you also need to sense and enable
the proper power supply, which is very implementation specific.
You will also have to initialize the PCMCIA control/address
registers and make sure it gets mapped in somplace (either a
driver or mm/init.c).

I continue to have nightmares about porting pcmcia-cs to the
8xx, and should probably do it some day with David's help.  Since
my experience with applications using PCMCIA on the 8xx has been
they are quite unique and static, I have always just initialized
the interface for the application.  Less code, less overhead.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help