Skip to content

Commit 1ec8891

Browse files
rddunlapgregkh
authored andcommitted
serial: 8250: fix ordering of entries for menu display
Improve the "8250/16550 serial support" menu so that entries in it are displayed in a better order (reorder a few symbols) and so that intervening symbols don't break up the dependency list, allowing menu entries to be displayed with proper indentation. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://patch.msgid.link/20260110232643.3533351-3-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 79527d8 commit 1ec8891

1 file changed

Lines changed: 48 additions & 47 deletions

File tree

drivers/tty/serial/8250/Kconfig

Lines changed: 48 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ config SERIAL_8250_DMA
116116

117117
config SERIAL_8250_PCILIB
118118
bool
119+
depends on SERIAL_8250 && PCI
119120

120121
config SERIAL_8250_PCI
121122
tristate "8250/16550 PCI device support"
@@ -205,6 +206,37 @@ config SERIAL_8250_EXTENDED
205206
kernel: saying N will just cause the configurator to skip all
206207
the questions about serial driver options. If unsure, say N.
207208

209+
config SERIAL_8250_SHARE_IRQ
210+
bool "Support for sharing serial interrupts"
211+
depends on SERIAL_8250_EXTENDED
212+
help
213+
Some serial boards have hardware support which allows multiple dumb
214+
serial ports on the same board to share a single IRQ. To enable
215+
support for this in the serial driver, say Y here.
216+
217+
config SERIAL_8250_DETECT_IRQ
218+
bool "Autodetect IRQ on standard ports (unsafe)"
219+
depends on SERIAL_8250_EXTENDED
220+
help
221+
Say Y here if you want the kernel to try to guess which IRQ
222+
to use for your serial port.
223+
224+
This is considered unsafe; it is far better to configure the IRQ in
225+
a boot script using the setserial command.
226+
227+
If unsure, say N.
228+
229+
config SERIAL_8250_RSA
230+
bool "Support RSA serial ports"
231+
depends on SERIAL_8250_EXTENDED
232+
help
233+
Say Y here if you have a IODATA RSA-DV II/S ISA card and
234+
would like to use its >115kbps speeds.
235+
You will need to provide module parameter "probe_rsa", or boot-time
236+
parameter 8250.probe_rsa with I/O addresses of this card then.
237+
238+
If you don't have such card, or if unsure, say N.
239+
208240
config SERIAL_8250_MANY_PORTS
209241
bool "Support more than 4 legacy serial ports"
210242
depends on SERIAL_8250_EXTENDED
@@ -240,19 +272,6 @@ config SERIAL_8250_ACCENT
240272
To compile this driver as a module, choose M here: the module
241273
will be called 8250_accent.
242274

243-
config SERIAL_8250_ASPEED_VUART
244-
tristate "Aspeed Virtual UART"
245-
depends on SERIAL_8250
246-
depends on OF
247-
depends on MFD_SYSCON
248-
depends on ARCH_ASPEED || COMPILE_TEST
249-
select REGMAP
250-
help
251-
If you want to use the virtual UART (VUART) device on Aspeed
252-
BMC platforms, enable this option. This enables the 16550A-
253-
compatible device on the local LPC bus, giving a UART device
254-
with no physical RS232 connections.
255-
256275
config SERIAL_8250_BOCA
257276
tristate "Support Boca cards"
258277
depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
@@ -293,44 +312,23 @@ config SERIAL_8250_PCI1XXXX
293312
serial driver for the serial interface. This driver support
294313
will ensure to support baud rates upto 1.5Mpbs.
295314

315+
config SERIAL_8250_ASPEED_VUART
316+
tristate "Aspeed Virtual UART"
317+
depends on SERIAL_8250
318+
depends on OF
319+
depends on MFD_SYSCON
320+
depends on ARCH_ASPEED || COMPILE_TEST
321+
select REGMAP
322+
help
323+
If you want to use the virtual UART (VUART) device on Aspeed
324+
BMC platforms, enable this option. This enables the 16550A-
325+
compatible device on the local LPC bus, giving a UART device
326+
with no physical RS232 connections.
327+
296328
#
297329
# Misc. options/drivers.
298330
#
299331

300-
config SERIAL_8250_SHARE_IRQ
301-
bool "Support for sharing serial interrupts"
302-
depends on SERIAL_8250_EXTENDED
303-
help
304-
Some serial boards have hardware support which allows multiple dumb
305-
serial ports on the same board to share a single IRQ. To enable
306-
support for this in the serial driver, say Y here.
307-
308-
config SERIAL_8250_DETECT_IRQ
309-
bool "Autodetect IRQ on standard ports (unsafe)"
310-
depends on SERIAL_8250_EXTENDED
311-
help
312-
Say Y here if you want the kernel to try to guess which IRQ
313-
to use for your serial port.
314-
315-
This is considered unsafe; it is far better to configure the IRQ in
316-
a boot script using the setserial command.
317-
318-
If unsure, say N.
319-
320-
config SERIAL_8250_RSA
321-
bool "Support RSA serial ports"
322-
depends on SERIAL_8250_EXTENDED
323-
help
324-
Say Y here if you have a IODATA RSA-DV II/S ISA card and
325-
would like to use its >115kbps speeds.
326-
You will need to provide module parameter "probe_rsa", or boot-time
327-
parameter 8250.probe_rsa with I/O addresses of this card then.
328-
329-
If you don't have such card, or if unsure, say N.
330-
331-
config SERIAL_8250_DWLIB
332-
bool
333-
334332
config SERIAL_8250_ACORN
335333
tristate "Acorn expansion card serial port support"
336334
depends on ARCH_ACORN && SERIAL_8250
@@ -596,3 +594,6 @@ config SERIAL_OF_PLATFORM
596594
are probed through devicetree, including Open Firmware based
597595
PowerPC systems and embedded systems on architectures using the
598596
flattened device tree format.
597+
598+
config SERIAL_8250_DWLIB
599+
bool

0 commit comments

Comments
 (0)