Re: [PATCH v4 12/21] serial: support for 16550A serial ports on LP-8x4x

2014-04-16 Thread Sergei Ianovich
One Thousand Gnomes wrote: >On Wed, 16 Apr 2014 23:01:47 +0400 >Sergei Ianovich wrote: > >> One Thousand Gnomes wrote: >> >> + baud = uart_get_baud_rate(port, termios, old, >> >> + port->uartclk / 16 / 0x, >> >> + port->uartclk / 16); >> >>

Re: [PATCH v4 12/21] serial: support for 16550A serial ports on LP-8x4x

2014-04-16 Thread One Thousand Gnomes
On Wed, 16 Apr 2014 23:01:47 +0400 Sergei Ianovich wrote: > One Thousand Gnomes wrote: > >> + baud = uart_get_baud_rate(port, termios, old, > >> +port->uartclk / 16 / 0x, > >> +port->uartclk / 16); > >> + switch (baud) { > >> + case

Re: [PATCH v4 12/21] serial: support for 16550A serial ports on LP-8x4x

2014-04-16 Thread Sergei Ianovich
One Thousand Gnomes wrote: >> +baud = uart_get_baud_rate(port, termios, old, >> + port->uartclk / 16 / 0x, >> + port->uartclk / 16); >> +switch (baud) { >> +case 2400: >> +len |= 1; >> +break; >> +

Re: [PATCH v4 12/21] serial: support for 16550A serial ports on LP-8x4x

2014-04-16 Thread One Thousand Gnomes
> + baud = uart_get_baud_rate(port, termios, old, > + port->uartclk / 16 / 0x, > + port->uartclk / 16); > + switch (baud) { > + case 2400: > + len |= 1; > + break; > + case 4800: > +

[PATCH v4 12/21] serial: support for 16550A serial ports on LP-8x4x

2014-04-16 Thread Sergei Ianovich
The patch adds support for 3 additional LP-8x4x built-in serial ports. The device can also host up to 8 extension cards with 4 serial ports on each card for a total of 35 ports. However, I don't have the hardware to test extension cards, so they are not supported, yet. Signed-off-by: Sergei Ianov