]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: 8250_pci: Remove custom deprecated baud setting routine
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 22 Jan 2026 10:19:48 +0000 (11:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 16:24:55 +0000 (17:24 +0100)
commit3f0716c604e81d8440b16d0d8f5420c4a6f3c17a
tree011c617d39fc49a9755b20635a2428cf5df6ea18
parent1250ebacd4cc59ede613f95e16aba309f364c0f6
serial: 8250_pci: Remove custom deprecated baud setting routine

As comments mentioned this is old (and actually deprecated) interface
to set custom baud rates. This interface has limitations as it only
allows to set a single opaque value called "custom_divisor". If the HW
needs more complex settings (like fractional divisor) it must somehow
encode this. This is horrid interface that is very driver specific
and not flexible. Meanwhile Linux has established way to set free
baud rate settings via BOTHER [1]. With all this being said, remove
deprecated interface for good.

Link: https://stackoverflow.com/questions/12646324/how-can-i-set-a-custom-baud-rate-on-linux
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260122102349.2395423-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/misc-devices/oxsemi-tornado.rst
drivers/tty/serial/8250/8250_pci.c