* Re: [PATCH] MN10300: Fix MN10300's serial port driver to get at its tty_struct
2008-07-11 14:52 [PATCH] MN10300: Fix MN10300's serial port driver to get at its tty_struct David Howells
@ 2008-07-11 14:51 ` Alan Cox
2008-07-11 16:17 ` David Howells
0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2008-07-11 14:51 UTC (permalink / raw)
To: David Howells; +Cc: alan, akpm, dhowells, linux-am33-list, linux-kernel
On Fri, 11 Jul 2008 15:52:01 +0100
David Howells <dhowells@redhat.com> wrote:
> Fix MN10300's serial port driver to get at its tty_struct as this moved from
> struct uart_info into struct tty_port in patch:
>
> commit 2500487cb5b4dbee56e127d699d14101016c5031
> Author: Alan Cox <alan@redhat.com>
> Date: Fri Jul 11 17:23:39 2008 +1000
>
> 07-serial-core-use-tty_port
>
> Switch the serial_core based drivers to use the new tty_port
> structure. We can't quite use all of it yet because of the
> dynamically allocated extras in the serial_core layer.
>
> Signed-off-by: Alan Cox <alan@redhat.com>
>
> Signed-off-by: David Howells <dhowells@redhat.com>
I don't suppose you'd consider putting the driver into drivers/serial so
it was actually sanely possible to update all the tty drivers together.
There are lots more changes to come and it would be easier if drivers
didn't keep hiding 8(
Alan
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] MN10300: Fix MN10300's serial port driver to get at its tty_struct
@ 2008-07-11 14:52 David Howells
2008-07-11 14:51 ` Alan Cox
0 siblings, 1 reply; 5+ messages in thread
From: David Howells @ 2008-07-11 14:52 UTC (permalink / raw)
To: alan, akpm; +Cc: dhowells, linux-am33-list, linux-kernel
Fix MN10300's serial port driver to get at its tty_struct as this moved from
struct uart_info into struct tty_port in patch:
commit 2500487cb5b4dbee56e127d699d14101016c5031
Author: Alan Cox <alan@redhat.com>
Date: Fri Jul 11 17:23:39 2008 +1000
07-serial-core-use-tty_port
Switch the serial_core based drivers to use the new tty_port
structure. We can't quite use all of it yet because of the
dynamically allocated extras in the serial_core layer.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
---
arch/mn10300/kernel/mn10300-serial.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mn10300/kernel/mn10300-serial.c b/arch/mn10300/kernel/mn10300-serial.c
index b9c268c..8b054e7 100644
--- a/arch/mn10300/kernel/mn10300-serial.c
+++ b/arch/mn10300/kernel/mn10300-serial.c
@@ -392,7 +392,7 @@ static int mask_test_and_clear(volatile u8 *ptr, u8 mask)
static void mn10300_serial_receive_interrupt(struct mn10300_serial_port *port)
{
struct uart_icount *icount = &port->uart.icount;
- struct tty_struct *tty = port->uart.info->tty;
+ struct tty_struct *tty = port->uart.info->port.tty;
unsigned ix;
int count;
u8 st, ch, push, status, overrun;
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] MN10300: Fix MN10300's serial port driver to get at its tty_struct
2008-07-11 14:51 ` Alan Cox
@ 2008-07-11 16:17 ` David Howells
2008-07-11 16:22 ` Alan Cox
0 siblings, 1 reply; 5+ messages in thread
From: David Howells @ 2008-07-11 16:17 UTC (permalink / raw)
To: Alan Cox; +Cc: dhowells, alan, akpm, linux-am33-list, linux-kernel
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> I don't suppose you'd consider putting the driver into drivers/serial so
> it was actually sanely possible to update all the tty drivers together.
> There are lots more changes to come and it would be easier if drivers
> didn't keep hiding 8(
Do you want a bunch of .S files moving in there?
David
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] MN10300: Fix MN10300's serial port driver to get at its tty_struct
2008-07-11 16:17 ` David Howells
@ 2008-07-11 16:22 ` Alan Cox
2008-07-11 19:12 ` David Howells
0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2008-07-11 16:22 UTC (permalink / raw)
To: David Howells; +Cc: dhowells, alan, akpm, linux-am33-list, linux-kernel
On Fri, 11 Jul 2008 17:17:58 +0100
David Howells <dhowells@redhat.com> wrote:
> Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>
> > I don't suppose you'd consider putting the driver into drivers/serial so
> > it was actually sanely possible to update all the tty drivers together.
> > There are lots more changes to come and it would be easier if drivers
> > didn't keep hiding 8(
>
> Do you want a bunch of .S files moving in there?
The .S files are a neccessary part of the tty driver ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] MN10300: Fix MN10300's serial port driver to get at its tty_struct
2008-07-11 16:22 ` Alan Cox
@ 2008-07-11 19:12 ` David Howells
0 siblings, 0 replies; 5+ messages in thread
From: David Howells @ 2008-07-11 19:12 UTC (permalink / raw)
To: Alan Cox; +Cc: dhowells, alan, akpm, linux-am33-list, linux-kernel
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> The .S files are a neccessary part of the tty driver ?
Yes. Virtual DMA with cunning interrupt manglement.
David
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-07-11 19:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-11 14:52 [PATCH] MN10300: Fix MN10300's serial port driver to get at its tty_struct David Howells
2008-07-11 14:51 ` Alan Cox
2008-07-11 16:17 ` David Howells
2008-07-11 16:22 ` Alan Cox
2008-07-11 19:12 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox