All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix ioemu compile
@ 2007-12-06 19:31 john.levon
  2007-12-06 19:35 ` John Levon
  0 siblings, 1 reply; 8+ messages in thread
From: john.levon @ 2007-12-06 19:31 UTC (permalink / raw)
  To: xen-devel

# HG changeset patch
# User john.levon@sun.com
# Date 1196969481 28800
# Node ID 2c28ac4db1f7542220b1472821e8631b79b6a23a
# Parent  4a98d4b6e4daccd610175e3c0f8cab49b056c649
Fix ioemu compile

serial.c was including another Linux-specific header.

Signed-off-by: John Levon <john.levon@sun.com>

diff --git a/tools/ioemu/hw/serial.c b/tools/ioemu/hw/serial.c
--- a/tools/ioemu/hw/serial.c
+++ b/tools/ioemu/hw/serial.c
@@ -26,9 +26,15 @@
 #include <sys/time.h>
 #include <time.h>
 #include <assert.h>
-#include <asm/termios.h>
 
 //#define DEBUG_SERIAL
+
+#define TIOCM_DTR	0x002
+#define TIOCM_RTS	0x004
+#define TIOCM_CTS	0x020
+#define TIOCM_CAR	0x040
+#define TIOCM_RI	0x080
+#define TIOCM_DSR	0x100
 
 #define UART_LCR_DLAB	0x80	/* Divisor latch access bit */

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-12-07 14:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-06 19:31 [PATCH] Fix ioemu compile john.levon
2007-12-06 19:35 ` John Levon
2007-12-06 19:41   ` Daniel P. Berrange
2007-12-07  9:27     ` Trolle Selander
2007-12-07 11:07       ` Keir Fraser
2007-12-07 11:17         ` Keir Fraser
2007-12-07 12:48           ` John Levon
2007-12-07 14:25           ` Daniel P. Berrange

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.