Re: [PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Peter Hurley
On 11/07/2015 04:10 PM, Matwey V. Kornilov wrote: > 2015-11-07 18:32 GMT+03:00 Peter Hurley : >> On 11/07/2015 07:39 AM, Matwey V. Kornilov wrote: >>> 2015-11-07 15:22 GMT+03:00 Peter Hurley : On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: > Introduce new capability UART_CAP_HW485 to ma

Re: [PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Matwey V. Kornilov
2015-11-07 18:32 GMT+03:00 Peter Hurley : > On 11/07/2015 07:39 AM, Matwey V. Kornilov wrote: >> 2015-11-07 15:22 GMT+03:00 Peter Hurley : >>> On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: Introduce new capability UART_CAP_HW485 to mark 8250 UARTs which have hardware support of line d

Re: [PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Peter Hurley
On 11/07/2015 07:39 AM, Matwey V. Kornilov wrote: > 2015-11-07 15:22 GMT+03:00 Peter Hurley : >> On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: >>> Introduce new capability UART_CAP_HW485 to mark 8250 UARTs which have >>> hardware support of line direction control. >> >> Since capabilities are n

Re: [PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Matwey V. Kornilov
2015-11-07 15:22 GMT+03:00 Peter Hurley : > On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: >> Introduce new capability UART_CAP_HW485 to mark 8250 UARTs which have >> hardware support of line direction control. > > Since capabilities are not exported to user-space, how will user-space > know if

Re: [PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Peter Hurley
On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: > Introduce new capability UART_CAP_HW485 to mark 8250 UARTs which have > hardware support of line direction control. Since capabilities are not exported to user-space, how will user-space know if the port only provides emulated 485 (eg., where onl

[PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Matwey V. Kornilov
Introduce new capability UART_CAP_HW485 to mark 8250 UARTs which have hardware support of line direction control. Signed-off-by: Matwey V. Kornilov --- Changes since v1: - Commit message has been wrapped drivers/tty/serial/8250/8250.h | 1 + drivers/tty/serial/8250/8250_fintek.c | 1 +