* mic2563 dual slot pcmcia controller
@ 2003-08-28 18:45 Lokesh Kumar
2003-08-28 19:31 ` Magnus Damm
0 siblings, 1 reply; 4+ messages in thread
From: Lokesh Kumar @ 2003-08-28 18:45 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I have a mpc8xx based board, which has two pcmcia slots, and uses micrel
2563a power controller. Now, I understand that I have to control this in the
file drivers/pcmcia/m8xx_setup.c file. I was wondering if anybody has done
the same and can tell me what is the right way. Also, where do I set the
other pcmcia related values for example pbr0, memory size etc? Any pointers
would be helpful.
Thanks in advance.
Lokesh Kumar
Wireless Matrix USA Inc.
703-262-4032
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mic2563 dual slot pcmcia controller
2003-08-28 18:45 mic2563 dual slot pcmcia controller Lokesh Kumar
@ 2003-08-28 19:31 ` Magnus Damm
0 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2003-08-28 19:31 UTC (permalink / raw)
To: Lokesh Kumar; +Cc: linuxppc-embedded
Hello there,
> I have a mpc8xx based board, which has two pcmcia slots, and uses micrel
> 2563a power controller. Now, I understand that I have to control this in the
> file drivers/pcmcia/m8xx_setup.c file. I was wondering if anybody has done
> the same and can tell me what is the right way. Also, where do I set the
> other pcmcia related values for example pbr0, memory size etc? Any pointers
> would be helpful.
Yes, the power controller code is board specific. I don't remember much of
it today, but I don't think I've used a power controller like that.
The pcmcia related registers like pbr0 are setup by the m8xx_setup.c-code
dynamically, so there should be no need to mess with registers like that.
Please note that the pcmcia hardware in the m8xx series is kind of limited
if you use it with two slots, see the source code for more info.
Hope this helps!
/ magnus
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: mic2563 dual slot pcmcia controller
@ 2003-08-29 12:23 Lokesh Kumar
0 siblings, 0 replies; 4+ messages in thread
From: Lokesh Kumar @ 2003-08-29 12:23 UTC (permalink / raw)
To: 'Graf Alex', Lokesh Kumar, linuxppc-embedded
I have 2.4.18 kernel, and is booted by u-boot 0.4. However, I do not think
that I should do any init of pcmcia controller from the u-boot, because
u-boot does not use it and hence should not init it. I want to init it
inside the kernel. I thought m8xx_setup.c and m8xx_pcmcia.c is a better
place to do all my chip select for controlling mic2563 and the other pcmcia
related settings.
Lokesh
-----Original Message-----
From: Graf Alex [mailto:alex.graf@siemens.com]
Sent: Friday, August 29, 2003 2:55 AM
To: 'Lokesh Kumar'; linuxppc-embedded@lists.linuxppc.org
Subject: AW: mic2563 dual slot pcmcia controller
Hello
I did setup the second PCMCIA Slot on a MPC855. The bootloader (u-boot)
setups the pbrX, porX, ... registers. The kernel lives with this values.
Which Kernel do you have? For me was the /drivers/ide/ide-m8xx.c the most
important file (I needed CF support).
Cheers
Alex
-----Ursprüngliche Nachricht-----
Von: Lokesh Kumar [mailto:lokesh.kumar@wrx-us.com]
Gesendet: Donnerstag, 28. August 2003 20:45
An: linuxppc-embedded@lists.linuxppc.org
Betreff: mic2563 dual slot pcmcia controller
Hi,
I have a mpc8xx based board, which has two pcmcia slots, and uses micrel
2563a power controller. Now, I understand that I have to control this in the
file drivers/pcmcia/m8xx_setup.c file. I was wondering if anybody has done
the same and can tell me what is the right way. Also, where do I set the
other pcmcia related values for example pbr0, memory size etc? Any pointers
would be helpful.
Thanks in advance.
Lokesh Kumar
Wireless Matrix USA Inc.
703-262-4032
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: mic2563 dual slot pcmcia controller
@ 2003-09-02 17:49 Lokesh Kumar
0 siblings, 0 replies; 4+ messages in thread
From: Lokesh Kumar @ 2003-09-02 17:49 UTC (permalink / raw)
To: Lokesh Kumar, 'Graf Alex',
'linuxppc-embedded@lists.linuxppc.org'
Can somebody point to a similar driver code, to control mic2563, which is
memory mapped on mpc8xx board, with cs#4 as chip select? Any template driver
code would be helpful as well.
Lokesh
-----Original Message-----
From: Lokesh Kumar
Sent: Friday, August 29, 2003 8:24 AM
To: 'Graf Alex'; Lokesh Kumar; linuxppc-embedded@lists.linuxppc.org
Subject: RE: mic2563 dual slot pcmcia controller
I have 2.4.18 kernel, and is booted by u-boot 0.4. However, I do not think
that I should do any init of pcmcia controller from the u-boot, because
u-boot does not use it and hence should not init it. I want to init it
inside the kernel. I thought m8xx_setup.c and m8xx_pcmcia.c is a better
place to do all my chip select for controlling mic2563 and the other pcmcia
related settings.
Lokesh
-----Original Message-----
From: Graf Alex [mailto:alex.graf@siemens.com]
Sent: Friday, August 29, 2003 2:55 AM
To: 'Lokesh Kumar'; linuxppc-embedded@lists.linuxppc.org
Subject: AW: mic2563 dual slot pcmcia controller
Hello
I did setup the second PCMCIA Slot on a MPC855. The bootloader (u-boot)
setups the pbrX, porX, ... registers. The kernel lives with this values.
Which Kernel do you have? For me was the /drivers/ide/ide-m8xx.c the most
important file (I needed CF support).
Cheers
Alex
-----Ursprüngliche Nachricht-----
Von: Lokesh Kumar [mailto:lokesh.kumar@wrx-us.com]
Gesendet: Donnerstag, 28. August 2003 20:45
An: linuxppc-embedded@lists.linuxppc.org
Betreff: mic2563 dual slot pcmcia controller
Hi,
I have a mpc8xx based board, which has two pcmcia slots, and uses micrel
2563a power controller. Now, I understand that I have to control this in the
file drivers/pcmcia/m8xx_setup.c file. I was wondering if anybody has done
the same and can tell me what is the right way. Also, where do I set the
other pcmcia related values for example pbr0, memory size etc? Any pointers
would be helpful.
Thanks in advance.
Lokesh Kumar
Wireless Matrix USA Inc.
703-262-4032
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-02 17:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-28 18:45 mic2563 dual slot pcmcia controller Lokesh Kumar
2003-08-28 19:31 ` Magnus Damm
-- strict thread matches above, loose matches on Subject: below --
2003-08-29 12:23 Lokesh Kumar
2003-09-02 17:49 Lokesh Kumar
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 NNTP newsgroup(s).