All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix typo in pmac_zilog
@ 2004-05-28  3:40 Benjamin Herrenschmidt
  2004-05-30  6:42 ` David S. Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2004-05-28  3:40 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linus Torvalds, Linux Kernel list

Hi !

This patch fixes a typo preventing channel B from working on the Rx
path of pmac zilog (never calling tty_flip_*). I think I never tested
channel B :)

Please, apply. Thanks to Hollis Blanchard for spotting the bug.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

--- 1.10/drivers/serial/pmac_zilog.c	2004-05-07 21:06:49 +10:00
+++ edited/drivers/serial/pmac_zilog.c	2004-05-28 13:38:07 +10:00
@@ -483,7 +483,7 @@
        		if (r3 & CHBEXT)
        			pmz_status_handle(uap_b, regs);
        	       	if (r3 & CHBRxIP)
-       			pmz_receive_chars(uap_b, regs);
+       			tty = pmz_receive_chars(uap_b, regs);
        		if (r3 & CHBTxIP)
        			pmz_transmit_chars(uap_b);
 	       	rc = IRQ_HANDLED;



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

end of thread, other threads:[~2004-05-31  0:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28  3:40 [PATCH] Fix typo in pmac_zilog Benjamin Herrenschmidt
2004-05-30  6:42 ` David S. Miller
2004-05-30  7:13   ` Benjamin Herrenschmidt
2004-05-31  0:32     ` David S. Miller
2004-05-31  0:30       ` Benjamin Herrenschmidt

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.