]> git.ipfire.org Git - thirdparty/grub.git/commit
term/serial: Improve detection of duplicate serial ports
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 23 Dec 2022 01:48:49 +0000 (12:48 +1100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 19 Jan 2023 16:39:04 +0000 (17:39 +0100)
commit35782e165fe58691859075e19eedf3c2009b80c9
tree286a34a46e1660c3f19b459444bcb27d16f6e514
parente37dbba6650fce39649825ffa7040b60055f9cf2
term/serial: Improve detection of duplicate serial ports

We currently rely on some pretty fragile comparison by name to
identify whether a serial port being configured is identical

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/term/arc/serial.c
grub-core/term/ieee1275/serial.c
grub-core/term/ns8250.c
grub-core/term/serial.c
include/grub/ieee1275/console.h
include/grub/serial.h