Skip to content

PNP: convert x86 legacy serial to platform devs, add SMC IR PNP probe

Bjorn Helgaas linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5PNP: notice whether we have PNP devices (PNPBIOS or PNPACPI)drivers/pnp/core.c drivers/pnp/pnpacpi/core.c drivers/pnp/pnpbios/core.c +1 more+12 -00 replies
2/5PNP: workaround HP BIOS defect that leaves SMCF010 device partly enableddrivers/pnp/quirks.c+30 -00 replies
3/5smsc-ircc2: tidy up module parameter checkingdrivers/net/irda/smsc-ircc2.c+8 -60 replies
4/5smsc-ircc2: add PNP supportdrivers/net/irda/smsc-ircc2.c+75 -232 replies
5/5x86, serial: convert legacy COM ports to platform devicesDocumentation/kernel-parameters.txt arch/i386/kernel/Makefile arch/i386/kernel/legacy_serial.c +4 more+83 -370 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/5] PNP: convert x86 legacy serial to platform devs, add SMC IR PNP probe

This series converts i386 and x86_64 legacy serial ports to be platform devices and prevents probing for them if we have PNP.

This prevents double discovery, where a device was found both by the legacy probe and by 8250_pnp.

This also prevents the serial driver from claiming IRDA devices (unless they have a UART PNP ID). The serial legacy probe sometimes assumed the wrong IRQ, so the user had to use "setserial" to fix it.

Removing the need for setserial to make IRDA devices work seems good, but it does break some things. In particular, you may need to keep setserial from poking legacy UART stuff back in by doing something like "dpkg-reconfigure setserial" with the "kernel" option. Otherwise, the setserial-discovered "UART" will claim resources and prevent the IRDA driver from loading.

--