mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 00:59:55 +00:00
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>
This commit is contained in:
1 parent
e37dbba665
commit
35782e165f
6 files changed
+52
-36
No files matched your search
@@ -219,4 +219,7 @@ extern void grub_serial_init (void);
|
||||
extern void grub_serial_fini (void);
|
||||
#endif
|
||||
|
||||
extern struct grub_serial_port *grub_serial_ports;
|
||||
#define FOR_SERIAL_PORTS(var) FOR_LIST_ELEMENTS((var), (grub_serial_ports))
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user