OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: David Gwynne (dlgcvs.openbsd.org)
Date: Wed Apr 30 2008 - 08:59:33 CDT


CVSROOT: /cvs
Module name: src
Changes by: dlgcvs.openbsd.org 2008/04/30 07:59:33

Modified files:
        sys/dev/ic : comvar.h
        sys/arch/amd64/amd64: conf.c consinit.c machdep.c

Log message:
fix serial console handling on amd64. currently only glass console ever
works, even if the boot loader is configured to use serial console.

after the changes jsing and i made, the initial probe of the serial port
was failing since the default base addres for the port is invalid. cos of
that the kernel would only ever consider the glass console for use. this
fixes it by reprobing the serial port if we get any config for it from the
boot loader.

advice on aesthetics from miod
advice and ok from kettenis