Thread (71 messages) 71 messages, 7 authors, 2013-04-07

Re: [RFC PATCH 1/3] UART: Add UART subsystem as a bus.

From: Alan Cox <hidden>
Date: 2012-12-06 13:53:41
Also in: linux-serial

quoted
We just need a set of type names for the sysfs node I think "bluetooth", "ups",
"loconet", "serial", "modem", "cir" etc...
Is it a good idea to introduce uart_device driver in the kernel to fill a new 'ldisc' member in the uart_device or to load ldisc by default for the corresponding tty_port?
No but it can provide information to help user space. In many cases the
decision isn't about a line discipline but about automatically setting
permissions or linking ports to the right driver.

The hints need to be generic - they can come from open firmware, from pci
identifiers, from ACPI and so on.
Shall we change the uart_bus to the tty_bus, then introduce tty_host / tty_target for the bus?
We have a tty class - is that not sufficient ?

Alan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help