]> xenbits.xensource.com Git - xen.git/commit
ns16550: Add support for UART present in Broadcom TruManage capable NetXtreme chips
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Wed, 26 Feb 2014 16:25:04 +0000 (17:25 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 26 Feb 2014 16:25:04 +0000 (17:25 +0100)
commitc9f8e0aee507bec25104ca5535fde38efae6c6bc
treeb0a0cc70cef996dafeca59cf11d289e4f6739a22
parentba8c2955681831dc1930a9f6595032b1c2ec288d
ns16550: Add support for UART present in Broadcom TruManage capable NetXtreme chips

Since it is an MMIO device, the code has been modified to accept MMIO based
devices as well. MMIO device settings are populated in the 'uart_config' table.
It also advertises 64 bit BAR. Therefore, code is reworked to account for 64
bit BAR and 64 bit MMIO lengths.

Some more quirks are - the need to shift the register offset by a specific
value and we also need to verify (UART_LSR_THRE && UART_LSR_TEMT) bits before
transmitting data.

While testing, include com1=115200,8n1,pci,0 on the xen cmdline to observe
output on console using SoL.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Thomas Lendacky <Thomas.Lendacky@amd.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/drivers/char/ns16550.c