[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] arch_serial_putc is not required any more.



# HG changeset patch
# User kevin@xxxxxxxxxxxxxxxxxxxxx
# Node ID ed7e557deedd4c70fb24efb95e0df5e4e406745e
# Parent  12ddc012238a23c57085f98513c174dc066ed2c8
arch_serial_putc is not required any more.

Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>

diff -r 12ddc012238a -r ed7e557deedd xen/include/asm-ia64/serial.h
--- a/xen/include/asm-ia64/serial.h     Mon Aug 15 21:06:03 2005
+++ b/xen/include/asm-ia64/serial.h     Tue Aug 16 01:00:21 2005
@@ -1,20 +1,0 @@
-#ifndef __ASM_SERIAL_H__
-#define __ASM_SERIAL_H__
-
-#include <asm/regs.h>
-#include <asm/irq.h>
-#include <xen/serial.h>
-#include <asm/hpsim_ssc.h>
-
-#ifndef CONFIG_VTI 
-#define arch_serial_putc(_uart, _c)                                    \
-       ( platform_is_hp_ski() ? (ia64_ssc(c,0,0,0,SSC_PUTCHAR), 1) :   \
-       ( longs_peak_putc(c), 1 ))
-#else
-#define arch_serial_putc(_uart, _c)                                    \
-       ( platform_is_hp_ski() ? (ia64_ssc(c,0,0,0,SSC_PUTCHAR), 1) :   \
-       ( (inb((_uart)->io_base + LSR) & LSR_THRE) ?                    \
-       (outb((_c), (_uart)->io_base + THR), 1) : 0 ))
-#endif
-
-#endif /* __ASM_SERIAL_H__ */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.