Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: baudrate: SPARC supports few more baud rates

According to termbits.h SPARC supports few more baud rates
than currently defined in tty_baudrate.c.

Append supported ones to baud_table[] and baud_bits[].

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200115224124.74684-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Andy Shevchenko and committed by
Greg Kroah-Hartman
1ddeb5a7 6ada6064

+4 -2
+4 -2
drivers/tty/tty_baudrate.c
··· 20 20 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 21 21 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 22 22 #ifdef __sparc__ 23 - 76800, 153600, 307200, 614400, 921600 23 + 76800, 153600, 307200, 614400, 921600, 500000, 576000, 24 + 1000000, 1152000, 1500000, 2000000 24 25 #else 25 26 500000, 576000, 921600, 1000000, 1152000, 1500000, 2000000, 26 27 2500000, 3000000, 3500000, 4000000 ··· 32 31 B0, B50, B75, B110, B134, B150, B200, B300, B600, B1200, B1800, B2400, 33 32 B4800, B9600, B19200, B38400, B57600, B115200, B230400, B460800, 34 33 #ifdef __sparc__ 35 - B76800, B153600, B307200, B614400, B921600 34 + B76800, B153600, B307200, B614400, B921600, B500000, B576000, 35 + B1000000, B1152000, B1500000, B2000000 36 36 #else 37 37 B500000, B576000, B921600, B1000000, B1152000, B1500000, B2000000, 38 38 B2500000, B3000000, B3500000, B4000000