]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86, setup: Only set early_serial_base after port is initialized
authorYinghai Lu <yinghai@kernel.org>
Wed, 14 Jul 2010 18:26:57 +0000 (11:26 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 14 Jul 2010 19:07:16 +0000 (12:07 -0700)
commit70b0d22d581a5deef7b2876b0c3774635b8d846c
tree7ec83deb42a6b9bcbbc1517298a77cd380321af6
parentce0aa5dd20e44372f9617dd67c984f41fcdbed88
x86, setup: Only set early_serial_base after port is initialized

putchar is using early_serial_base to check if port is initialized.

So we only assign it after early_serial_init() is called,
in case we need use VGA to debug early serial console.

Also add display for port addr and baud.

-v2: update to current tip

Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4C3E0171.6050008@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/tty.c