udev: consider serial ports as unconfigured only if both port and iomem_base sysattr...
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Oct 2024 07:57:41 +0000 (09:57 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 17 Oct 2024 09:59:38 +0000 (18:59 +0900)
commit9da582984b632a75f562a304ff96dd1043281430
treea51aee26b0901904f5168f8f6143ca0472a1ecf2
parent5df9ebad70fa7ca940cce6e935cd6f8104fccf37
udev: consider serial ports as unconfigured only if both port and iomem_base sysattr is zero

Various archs do not know the "io port" concept, hence check for the
"iomem" configuration, too.

Fixes: #34800
rules.d/99-systemd.rules.in