On 03/25/2015 05:17 PM, NeilBrown wrote:
On Wed, 25 Mar 2015 12:30:00 -0400 Peter Hurley [off-list ref]
wrote:
quoted
On 03/18/2015 01:58 AM, NeilBrown wrote:
quoted
+ * A "tty-slave" is a device permanently attached to a particularly
+ * tty, typically wired to a UART.
Why "permanently"?
Is that a limitation of the implementation or design?
The slave is described in devicetree - that only happens for permanently
attached devices, doesn't it?
I guess that with device-tree overlays and 'capes' for boards you could have
a device attached to the uart "for this power session" rather than
"permanently", but I think it is a rather subtle distinction.
Did you have something else in mind?
My primary concern is that the abstraction match the scope.
If the abstraction is at the tty layer, then the scope of the design
should support tty devices, not just hard-wired, devicetree-defined uarts.
Regards,
Peter Hurley