linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PCMCIA cards for MPC8xx?
@ 2002-09-05 16:48 Fanny Wakizaka
  2002-09-05 22:14 ` Matthew Locke
  0 siblings, 1 reply; 4+ messages in thread
From: Fanny Wakizaka @ 2002-09-05 16:48 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,
We are developing a custom hw based on the MPC855 with support to PCMCIA. We
are using MontaVista linux kernel 2.4.17.
Could you give me some suggestions of PC Cards that worked with MPC8xx? I'm
looking for ethernet cards, modem cards and wireless cards.
Thanks in advance,
Fanny


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCMCIA cards for MPC8xx?
  2002-09-05 16:48 Fanny Wakizaka
@ 2002-09-05 22:14 ` Matthew Locke
  2002-09-06 14:10   ` Magnus Damm
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Locke @ 2002-09-05 22:14 UTC (permalink / raw)
  To: Fanny Wakizaka; +Cc: linuxppc-embedded


Fanny Wakizaka wrote:

>Hi,
>We are developing a custom hw based on the MPC855 with support to PCMCIA. We
>are using MontaVista linux kernel 2.4.17.
>Could you give me some suggestions of PC Cards that worked with MPC8xx? I'm
>looking for ethernet cards, modem cards and wireless cards.
>Thanks in advance,
>Fanny
>
I have used: cisco 340/350 and lucent wlan cards, 3com 3c589 lan cards,
and modems cards do not work.  The problem with modem cards had
something to do with a dependancy on serial.c (8xx uses
arch/ppc/8xx_io/uart.c).  I don't remember the exact problem now.

>
>
>


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCMCIA cards for MPC8xx?
  2002-09-05 22:14 ` Matthew Locke
@ 2002-09-06 14:10   ` Magnus Damm
  0 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2002-09-06 14:10 UTC (permalink / raw)
  To: Matthew Locke; +Cc: Fanny Wakizaka, linuxppc-embedded


I've used 16550 serial ports with the m8xx_pcmcia driver.
It did not work right out of the box then (2.2), I think
some structure was shared between 8xx_io/uart.c and
the generic 16550 serial.c. And I think serial.c poked
around in some unmapped io-space.

If you get a list of working cards, maybe they could
be put in the embedded powerpc howto?

/ Magnus


Matthew Locke wrote:
>
> Fanny Wakizaka wrote:
>
> >Hi,
> >We are developing a custom hw based on the MPC855 with support to PCMCIA. We
> >are using MontaVista linux kernel 2.4.17.
> >Could you give me some suggestions of PC Cards that worked with MPC8xx? I'm
> >looking for ethernet cards, modem cards and wireless cards.
> >Thanks in advance,
> >Fanny
> >
> I have used: cisco 340/350 and lucent wlan cards, 3com 3c589 lan cards,
> and modems cards do not work.  The problem with modem cards had
> something to do with a dependancy on serial.c (8xx uses
> arch/ppc/8xx_io/uart.c).  I don't remember the exact problem now.
>
> >
> >
> >
>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCMCIA cards for MPC8xx?
@ 2002-09-19 14:39 Pavel Bartusek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Bartusek @ 2002-09-19 14:39 UTC (permalink / raw)
  To: linuxppc-embedded, damm

[-- Attachment #1: Type: text/plain, Size: 97 bytes --]

There is a patch, which allows concurent use of arch/ppc/8xx_io/uart.c
and drivers/char/serial.c

[-- Attachment #2: fixup.patch --]
[-- Type: text/plain, Size: 865 bytes --]

diff -Nurb linux__/arch/ppc/8xx_io/uart.c /opt/elinos/linux-2.4.18/arch/ppc/8xx_io/uart.c
--- linux__/arch/ppc/8xx_io/uart.c	Thu Jan 24 05:23:57 2002
+++ /opt/elinos/linux-2.4.18/arch/ppc/8xx_io/uart.c	Mon Jul  1 13:16:40 2002
@@ -357,8 +357,14 @@
 				  int event)
 {
 	info->event |= 1 << event;
+#ifdef CONFIG_SERIAL
+	/* if the serial driver is also selected, we have to use another tq */
+	queue_task(&info->tqueue, &tq_immediate);
+	mark_bh(IMMEDIATE_BH);
+#else
 	queue_task(&info->tqueue, &tq_serial);
 	mark_bh(SERIAL_BH);
+#endif
 }

 static _INLINE_ void receive_chars(ser_info_t *info, struct pt_regs *regs)
@@ -2566,7 +2572,10 @@
 	volatile	scc_uart_t	*sup;
 	volatile	immap_t		*immap;

+#ifndef CONFIG_SERIAL
+	/* if the serial driver is also selected, SERIAL_BH can't be used */
 	init_bh(SERIAL_BH, do_serial_bh);
+#endif

 	show_serial_version();


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-19 14:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-19 14:39 PCMCIA cards for MPC8xx? Pavel Bartusek
  -- strict thread matches above, loose matches on Subject: below --
2002-09-05 16:48 Fanny Wakizaka
2002-09-05 22:14 ` Matthew Locke
2002-09-06 14:10   ` Magnus Damm

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).