mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] tty: metag_da: Add metag DA TTY driver
@ 2013-02-06 14:45 James Hogan
  2013-02-06 14:45 ` [PATCH 1/2] " James Hogan
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: James Hogan @ 2013-02-06 14:45 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Jiri Slaby, linux-kernel, James Hogan

Greg: is it okay to take this into your tty tree as it depends on Jiri's
tty_flip/tty_port changes? It won't get built until the arch/metag tree
comes along and defines the METAG_DA Kconfig symbol.

This is the same metag_da driver as before, but rebased on tty-next and
omitting all arch/metag bits. Both parts have already been reviewed (and
I squashed the buffer flipping change into the first patch).

Sorry for all the resends by the way. I think I should have just aimed
for the tty tree in the first place :-) I'll know for future.

James Hogan (2):
  tty: metag_da: Add metag DA TTY driver
  tty: metag_da: avoid getting tty kref in dashtty_timer()

 drivers/tty/Kconfig    |   13 +
 drivers/tty/Makefile   |    1 +
 drivers/tty/metag_da.c |  677 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 691 insertions(+), 0 deletions(-)
 create mode 100644 drivers/tty/metag_da.c

-- 
1.7.7.6



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/2] tty: metag_da: fix flipping after tty changes
@ 2013-02-05 14:40 James Hogan
  2013-02-05 14:40 ` [PATCH 2/2] tty: metag_da: avoid getting tty kref in dashtty_timer() James Hogan
  0 siblings, 1 reply; 6+ messages in thread
From: James Hogan @ 2013-02-05 14:40 UTC (permalink / raw)
  To: Jiri Slaby, Greg Kroah-Hartman; +Cc: linux-kernel, James Hogan

The first patch fixes up tty/metag_da after Jiri's changes, "TTY: switch
tty_flip_buffer_push" and "TTY: convert more flipping functions",
switched tty_flip_buffer_push() and tty_prepare_flip_string() to take
tty_port rather than a tty_struct.

The second just refactors slightly as a result of it.

How is this sort of thing usually handled? I suppose either I squash it
into the original driver and base it on tty-next, move it into tty-next,
or just fix it up afterwards?

James Hogan (2):
  tty: metag_da: update flip functions to use tty_port
  tty: metag_da: avoid getting tty kref in dashtty_timer()

 drivers/tty/metag_da.c |   36 +++++++++++++++++-------------------
 1 files changed, 17 insertions(+), 19 deletions(-)

-- 
1.7.7.6



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

end of thread, other threads:[~2013-02-06 17:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06 14:45 [PATCH 0/2] tty: metag_da: Add metag DA TTY driver James Hogan
2013-02-06 14:45 ` [PATCH 1/2] " James Hogan
2013-02-06 14:45 ` [PATCH 2/2] tty: metag_da: avoid getting tty kref in dashtty_timer() James Hogan
2013-02-06 17:49 ` [PATCH 0/2] tty: metag_da: Add metag DA TTY driver Greg Kroah-Hartman
2013-02-06 17:50 ` Greg Kroah-Hartman
  -- strict thread matches above, loose matches on Subject: below --
2013-02-05 14:40 [PATCH 0/2] tty: metag_da: fix flipping after tty changes James Hogan
2013-02-05 14:40 ` [PATCH 2/2] tty: metag_da: avoid getting tty kref in dashtty_timer() James Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®