Skip to content

serial: explicitly request ttyS0-3 for COM1-4

Bjorn Helgaas linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28250: add serial8250_register_port_at() for requesting specific ttyS linesdrivers/serial/8250.c include/linux/serial_8250.h+64 -180 replies
2/28250_pnp: register x86 COM ports at the conventional ttyS namesdrivers/serial/8250_pnp.c+26 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/2] serial: explicitly request ttyS0-3 for COM1-4

When 8250_pnp discovers COM ports, we only get the correct ttyS names by accident -- we rely on serial8250_isa_init_ports(), which discovers the COM ports earlier using the addresses in SERIAL_PORT_DFNS.

These two patches remove the dependency on SERIAL_PORT_DFNS by explicitly requesting the desired ttyS names.