From: Pavel Bartusek <pavel.bartusek@tiscali.cz>
To: linuxppc-embedded@lists.linuxppc.org, damm@opensource.se
Subject: Re: PCMCIA cards for MPC8xx?
Date: Thu, 19 Sep 2002 16:39:07 +0200 [thread overview]
Message-ID: <3D89E18B.8020708@tiscali.cz> (raw)
[-- 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();
next reply other threads:[~2002-09-19 14:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-19 14:39 Pavel Bartusek [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-05 16:48 PCMCIA cards for MPC8xx? Fanny Wakizaka
2002-09-05 22:14 ` Matthew Locke
2002-09-06 14:10 ` Magnus Damm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D89E18B.8020708@tiscali.cz \
--to=pavel.bartusek@tiscali.cz \
--cc=damm@opensource.se \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.