Skip to content

Commit 37d55c9

Browse files
Jiri Slaby (SUSE)gregkh
authored andcommitted
serial: drop SERIAL_8250_DEPRECATED_OPTIONS
In 3.7, 8250 was unintentionally renamed to 8250_core. This happened in the commit 835d844 (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 f2b8dfd (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 9196d8a (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 9326b04 (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>
1 parent 6d4b55b commit 37d55c9

22 files changed

Lines changed: 0 additions & 87 deletions

arch/arm/configs/aspeed_g4_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ CONFIG_KEYBOARD_GPIO_POLLED=y
117117
# CONFIG_VT is not set
118118
# CONFIG_LEGACY_PTYS is not set
119119
CONFIG_SERIAL_8250=y
120-
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
121120
CONFIG_SERIAL_8250_CONSOLE=y
122121
CONFIG_SERIAL_8250_NR_UARTS=6
123122
CONFIG_SERIAL_8250_RUNTIME_UARTS=6

arch/arm/configs/aspeed_g5_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ CONFIG_SERIO_RAW=y
138138
# CONFIG_VT is not set
139139
# CONFIG_LEGACY_PTYS is not set
140140
CONFIG_SERIAL_8250=y
141-
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
142141
CONFIG_SERIAL_8250_CONSOLE=y
143142
CONFIG_SERIAL_8250_NR_UARTS=6
144143
CONFIG_SERIAL_8250_RUNTIME_UARTS=6

arch/arm/configs/hisi_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ CONFIG_NETDEVICES=y
3535
CONFIG_HIX5HD2_GMAC=y
3636
CONFIG_HIP04_ETH=y
3737
CONFIG_SERIAL_8250=y
38-
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
3938
CONFIG_SERIAL_8250_CONSOLE=y
4039
CONFIG_SERIAL_8250_NR_UARTS=2
4140
CONFIG_SERIAL_8250_RUNTIME_UARTS=2

arch/arm/configs/lpc18xx_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ CONFIG_KEYBOARD_GPIO_POLLED=y
9090
# CONFIG_UNIX98_PTYS is not set
9191
# CONFIG_LEGACY_PTYS is not set
9292
CONFIG_SERIAL_8250=y
93-
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
9493
CONFIG_SERIAL_8250_CONSOLE=y
9594
CONFIG_SERIAL_OF_PLATFORM=y
9695
CONFIG_SERIAL_NONSTANDARD=y

arch/arm/configs/shmobile_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ CONFIG_INPUT_DA9063_ONKEY=y
7575
CONFIG_INPUT_ADXL34X=y
7676
# CONFIG_LEGACY_PTYS is not set
7777
CONFIG_SERIAL_8250=y
78-
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
7978
# CONFIG_SERIAL_8250_16550A_VARIANTS is not set
8079
CONFIG_SERIAL_8250_CONSOLE=y
8180
# CONFIG_SERIAL_8250_PCI is not set

arch/mips/configs/bcm47xx_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ CONFIG_B43LEGACY=y
5151
CONFIG_BRCMSMAC=y
5252
CONFIG_ISDN=y
5353
CONFIG_SERIAL_8250=y
54-
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
5554
CONFIG_SERIAL_8250_CONSOLE=y
5655
# CONFIG_SERIAL_8250_PCI is not set
5756
CONFIG_SERIAL_8250_NR_UARTS=2

arch/mips/configs/bmips_stb_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ CONFIG_INPUT_UINPUT=y
119119
CONFIG_VT=y
120120
CONFIG_VT_HW_CONSOLE_BINDING=y
121121
CONFIG_SERIAL_8250=y
122-
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
123122
CONFIG_SERIAL_8250_CONSOLE=y
124123
CONFIG_SERIAL_OF_PLATFORM=y
125124
# CONFIG_HW_RANDOM is not set

arch/mips/configs/gcw0_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ CONFIG_INPUT_UINPUT=y
5252
CONFIG_INPUT_PWM_VIBRA=y
5353
# CONFIG_SERIO is not set
5454
CONFIG_SERIAL_8250=y
55-
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
5655
CONFIG_SERIAL_8250_CONSOLE=y
5756
CONFIG_SERIAL_8250_INGENIC=y
5857
CONFIG_HW_RANDOM=y

arch/nios2/configs/10m50_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ CONFIG_MARVELL_PHY=y
5151
# CONFIG_SERIO_SERPORT is not set
5252
# CONFIG_VT is not set
5353
CONFIG_SERIAL_8250=y
54-
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
5554
CONFIG_SERIAL_8250_CONSOLE=y
5655
CONFIG_SERIAL_OF_PLATFORM=y
5756
CONFIG_SERIAL_ALTERA_JTAGUART=y

arch/parisc/configs/generic-32bit_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ CONFIG_INPUT_MISC=y
119119
CONFIG_INPUT_UINPUT=m
120120
CONFIG_LEGACY_PTY_COUNT=64
121121
CONFIG_SERIAL_8250=y
122-
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
123122
CONFIG_SERIAL_8250_CONSOLE=y
124123
CONFIG_SERIAL_8250_NR_UARTS=8
125124
CONFIG_SERIAL_8250_EXTENDED=y

0 commit comments

Comments
 (0)