17c17
< __FBSDID("$FreeBSD: head/sys/boot/i386/gptboot/gptboot.c 235988 2012-05-25 09:36:39Z gleb $");
---
> __FBSDID("$FreeBSD: head/sys/boot/i386/gptboot/gptboot.c 241301 2012-10-06 20:08:29Z avg $");
382,383c382,385
< if (ioctrl & IO_SERIAL)
< sio_init(115200 / comspeed);
---
> if (ioctrl & IO_SERIAL) {
> if (sio_init(115200 / comspeed) != 0)
> ioctrl &= ~IO_SERIAL;
> }
< __FBSDID("$FreeBSD: head/sys/boot/i386/gptboot/gptboot.c 235988 2012-05-25 09:36:39Z gleb $");
---
> __FBSDID("$FreeBSD: head/sys/boot/i386/gptboot/gptboot.c 241301 2012-10-06 20:08:29Z avg $");
382,383c382,385
< if (ioctrl & IO_SERIAL)
< sio_init(115200 / comspeed);
---
> if (ioctrl & IO_SERIAL) {
> if (sio_init(115200 / comspeed) != 0)
> ioctrl &= ~IO_SERIAL;
> }