|
@@ -34,9 +34,12 @@
|
|
#include <linux/sysrq.h>
|
|
#include <linux/sysrq.h>
|
|
|
|
|
|
#include <asm/irq.h>
|
|
#include <asm/irq.h>
|
|
|
|
+#include <asm/hpsim.h>
|
|
#include <asm/hw_irq.h>
|
|
#include <asm/hw_irq.h>
|
|
#include <asm/uaccess.h>
|
|
#include <asm/uaccess.h>
|
|
|
|
|
|
|
|
+#include "hpsim_ssc.h"
|
|
|
|
+
|
|
#undef SIMSERIAL_DEBUG /* define this to get some debug information */
|
|
#undef SIMSERIAL_DEBUG /* define this to get some debug information */
|
|
|
|
|
|
#define KEYBOARD_INTR 3 /* must match with simulator! */
|
|
#define KEYBOARD_INTR 3 /* must match with simulator! */
|
|
@@ -45,11 +48,6 @@
|
|
|
|
|
|
#define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED)
|
|
#define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED)
|
|
|
|
|
|
-#define SSC_GETCHAR 21
|
|
|
|
-
|
|
|
|
-extern long ia64_ssc (long, long, long, long, int);
|
|
|
|
-extern void ia64_ssc_connect_irq (long intr, long irq);
|
|
|
|
-
|
|
|
|
static char *serial_name = "SimSerial driver";
|
|
static char *serial_name = "SimSerial driver";
|
|
static char *serial_version = "0.6";
|
|
static char *serial_version = "0.6";
|
|
|
|
|