]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: drop SERIAL_8250_DEPRECATED_OPTIONS
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 19 Nov 2025 09:24:54 +0000 (10:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Nov 2025 17:31:27 +0000 (18:31 +0100)
commit37d55c92e9db3f7fd3772199ffdfe782fc753fc1
treefe6512745ca83ba752353e2b316084931f02e7a1
parent6d4b55bf18c6dc74221f76770c8e4862f1a2b084
serial: drop SERIAL_8250_DEPRECATED_OPTIONS

In 3.7, 8250 was unintentionally renamed to 8250_core. This happened in
the commit 835d844d1a28 (8250_pnp: do pnp probe before legacy probe).
This made 8250.<xxxx> module options effectively defunct. Instead,
8250_core.<xxxx> worked.

In 3.9, the commit f2b8dfd9e480 (serial: 8250: Keep 8250.<xxxx> module
options functional after driver rename) made the original options work
again by introducing a hack.

Later in 3.9, the commit 9196d8acd7f9 (TTY: 8250, revert module name
change) changed the module name back to 8250 (from 8250_core). Since
then, the hack was there to support the transient 8250_core.<xxxx>
options. Those were present only in the 3.7..3.9 range.

These transient options were deprecated by 9326b047e4fd (TTY: 8250,
deprecated 8250_core.* options) in v3.9 too.

Now, after those 12 years, it is time to get rid of this hack
completely.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://patch.msgid.link/20251119092457.826789-4-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 files changed:
arch/arm/configs/aspeed_g4_defconfig
arch/arm/configs/aspeed_g5_defconfig
arch/arm/configs/hisi_defconfig
arch/arm/configs/lpc18xx_defconfig
arch/arm/configs/shmobile_defconfig
arch/mips/configs/bcm47xx_defconfig
arch/mips/configs/bmips_stb_defconfig
arch/mips/configs/gcw0_defconfig
arch/nios2/configs/10m50_defconfig
arch/parisc/configs/generic-32bit_defconfig
arch/parisc/configs/generic-64bit_defconfig
arch/powerpc/configs/44x/akebono_defconfig
arch/powerpc/configs/microwatt_defconfig
arch/riscv/configs/nommu_virt_defconfig
arch/xtensa/configs/audio_kc705_defconfig
arch/xtensa/configs/generic_kc705_defconfig
arch/xtensa/configs/nommu_kc705_defconfig
arch/xtensa/configs/smp_lx200_defconfig
arch/xtensa/configs/xip_kc705_defconfig
drivers/tty/serial/8250/8250_platform.c
drivers/tty/serial/8250/8250_rsa.c
drivers/tty/serial/8250/Kconfig