# Re: \[PATCH 0/9\] tty: tty\_struct dependency clean-ups

- From: One Thousand Gnomes \<hidden\>
- Date: 2016-09-11 21:15:51 
- List: linux-serial
- Page: https://ratatoskr.run/linux-serial/2016/09/4833396
- Thread: https://ratatoskr.run/linux-serial/2016/09/4832942/t.md

```text
On Fri,  9 Sep 2016 17:37:01 -0500
Rob Herring [ref] wrote:

> This patch series removes or prepares to remove some of the dependencies 
> on tty_struct within tty_port drivers. This will allow using tty_ports 
> directly for so called UART slave devices. 

You can create a tty_struct kernel side with the two tiny changes I
posted before. Why do you want to do invasive tree wide changes when you
can do simple ones ?

> Next up after this are moving some functions to the tty_port ops. I've 
> got some WIP patches for some of that, but nothing ready to send out 
> quite yet.

I think before this lot happens you need to decide where these structures
belong. Termios and termios_locked for example could live in the tty_port
as the physical tty is incapable of having multiple sets of terminal data
at once.

Really though this looks to me like *MASSIVE* churn for now purpose.
Create a tty_struct kernel side, and use that, the needed patch is then
tiny.

so IMHO NAK

Alan
```
