* grub-core/loader/i386/bsd.c (grub_cmd_netbsd): Provide default serial
parameters.
This commit is contained in:
parent
44a1b4327a
commit
d33613fcf3
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-09-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/loader/i386/bsd.c (grub_cmd_netbsd): Provide default serial
|
||||
parameters.
|
||||
|
||||
2010-09-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/lib/arg.c (grub_arg_parse): Fix treating of all commands as
|
||||
|
|
|
@ -1559,6 +1559,9 @@ grub_cmd_netbsd (grub_extcmd_context_t ctxt, int argc, char *argv[])
|
|||
grub_memset (&serial, 0, sizeof (serial));
|
||||
grub_strcpy (serial.devname, "com");
|
||||
|
||||
serial.addr = grub_ns8250_hw_get_port (0);
|
||||
serial.speed = 9600;
|
||||
|
||||
if (ctxt->state[NETBSD_SERIAL_ARG].arg)
|
||||
{
|
||||
ptr = ctxt->state[NETBSD_SERIAL_ARG].arg;
|
||||
|
|
Loading…
Reference in a new issue