ia64/xen-unstable

changeset 5984:ed7e557deedd

arch_serial_putc is not required any more.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
author kevin@localhost.localdomain
date Tue Aug 16 09:00:21 2005 +0800 (2005-08-16)
parents 12ddc012238a
children 97675c2dbb40
files xen/include/asm-ia64/serial.h
line diff
     1.1 --- a/xen/include/asm-ia64/serial.h	Mon Aug 15 13:06:03 2005 -0800
     1.2 +++ b/xen/include/asm-ia64/serial.h	Tue Aug 16 09:00:21 2005 +0800
     1.3 @@ -1,20 +0,0 @@
     1.4 -#ifndef __ASM_SERIAL_H__
     1.5 -#define __ASM_SERIAL_H__
     1.6 -
     1.7 -#include <asm/regs.h>
     1.8 -#include <asm/irq.h>
     1.9 -#include <xen/serial.h>
    1.10 -#include <asm/hpsim_ssc.h>
    1.11 -
    1.12 -#ifndef CONFIG_VTI 
    1.13 -#define arch_serial_putc(_uart, _c)					\
    1.14 -	( platform_is_hp_ski() ? (ia64_ssc(c,0,0,0,SSC_PUTCHAR), 1) :	\
    1.15 -	( longs_peak_putc(c), 1 ))
    1.16 -#else
    1.17 -#define arch_serial_putc(_uart, _c)					\
    1.18 -	( platform_is_hp_ski() ? (ia64_ssc(c,0,0,0,SSC_PUTCHAR), 1) :	\
    1.19 -	( (inb((_uart)->io_base + LSR) & LSR_THRE) ?    		\
    1.20 -	(outb((_c), (_uart)->io_base + THR), 1) : 0 ))
    1.21 -#endif
    1.22 -
    1.23 -#endif /* __ASM_SERIAL_H__ */