* 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.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-06 12:25:13 +02:00
parent b7b4ab33ae
commit b1622487a8
2 changed files with 6 additions and 11 deletions

View file

@ -1,3 +1,9 @@
2012-06-06 Vladimir Serbinenko <phcoder@gmail.com>
* 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 <phcoder@gmail.com>
* grub-core/commands/hdparm.c (le16_to_char): Always byte-swap strings.

View file

@ -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);