From b1622487a83fb9b392ba51b7e4c972d423620600 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Wed, 6 Jun 2012 12:25:13 +0200 Subject: [PATCH] * grub-core/term/serial.c (grub_serial_register) [GRUB_MACHINE_MIPS_QEMU_MIPS]: Don't autostart console in order to bring the behaviour in line with x86 platforms. --- ChangeLog | 6 ++++++ grub-core/term/serial.c | 11 ----------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 382759ffe..0181f731e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-06-06 Vladimir Serbinenko + + * grub-core/term/serial.c (grub_serial_register) + [GRUB_MACHINE_MIPS_QEMU_MIPS]: Don't autostart console in order to bring + the behaviour in line with x86 platforms. + 2012-06-06 Vladimir Serbinenko * grub-core/commands/hdparm.c (le16_to_char): Always byte-swap strings. diff --git a/grub-core/term/serial.c b/grub-core/term/serial.c index 36ff58565..7083fef57 100644 --- a/grub-core/term/serial.c +++ b/grub-core/term/serial.c @@ -327,17 +327,6 @@ grub_serial_register (struct grub_serial_port *port) grub_term_register_input_inactive ("serial_*", in); grub_term_register_output_inactive ("serial_*", out); } -#elif defined (GRUB_MACHINE_MIPS_QEMU_MIPS) - if (grub_strcmp (port->name, "com0") == 0) - { - grub_term_register_input_active ("serial_*", in); - grub_term_register_output_active ("serial_*", out); - } - else - { - grub_term_register_input_inactive ("serial_*", in); - grub_term_register_output_inactive ("serial_*", out); - } #else grub_term_register_input ("serial_*", in); grub_term_register_output ("serial_*", out);