ns16550: MMIO adjustments
authorJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2012 13:52:36 +0000 (15:52 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2012 13:52:36 +0000 (15:52 +0200)
commit65132d844309569ad6ffc88011bd8a70a6a4b61c
tree690f79cd58819c28ced96509117804e9c8401398
parent7ae6210ff88e1533770aab49289b9cc9ee52769e
ns16550: MMIO adjustments

On x86 ioremap() is not suitable here, set_fixmap() must be used
instead.

Also replace some literal numbers by their proper symbolic constants,
making the code easier to understand.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/drivers/char/ns16550.c
xen/include/asm-x86/fixmap.h