summaryrefslogtreecommitdiff
path: root/packages/linux-input
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/linux-input
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/linux-input')
-rw-r--r--packages/linux-input/.mtn2git_empty0
-rw-r--r--packages/linux-input/makefile.patch12
-rw-r--r--packages/linux-input/serio.h62
-rw-r--r--packages/linux-input/snes232.patch10
4 files changed, 84 insertions, 0 deletions
diff --git a/packages/linux-input/.mtn2git_empty b/packages/linux-input/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/linux-input/.mtn2git_empty
diff --git a/packages/linux-input/makefile.patch b/packages/linux-input/makefile.patch
index e69de29bb2..6499372f83 100644
--- a/packages/linux-input/makefile.patch
+++ b/packages/linux-input/makefile.patch
@@ -0,0 +1,12 @@
+--- Makefile.old 2004-12-05 18:33:23.000000000 +0000
++++ Makefile 2004-12-05 18:33:42.000000000 +0000
+@@ -32,8 +32,7 @@
+ CC = gcc
+ CFLAGS = -g -O2 -Wall -I../linux/include
+
+-PROGRAMS = evtest inputattach jstest jscal fftest ffmvforce ffset \
+- ffcfstress # acceltest
++PROGRAMS = evtest inputattach jstest jscal fftest
+
+ compile: $(PROGRAMS)
+
diff --git a/packages/linux-input/serio.h b/packages/linux-input/serio.h
index e69de29bb2..82670ed3f5 100644
--- a/packages/linux-input/serio.h
+++ b/packages/linux-input/serio.h
@@ -0,0 +1,62 @@
+#ifndef _SERIO_H
+#define _SERIO_H
+
+/*
+ * Copyright (C) 1999-2002 Vojtech Pavlik
+*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by
+ * the Free Software Foundation.
+ */
+
+#include <linux/ioctl.h>
+
+#define SPIOCSTYPE _IOW('q', 0x01, unsigned long)
+
+/*
+ * bit masks for use in "interrupt" flags (3rd argument)
+ */
+#define SERIO_TIMEOUT 1
+#define SERIO_PARITY 2
+#define SERIO_FRAME 4
+
+#define SERIO_TYPE 0xff000000UL
+#define SERIO_XT 0x00000000UL
+#define SERIO_8042 0x01000000UL
+#define SERIO_RS232 0x02000000UL
+#define SERIO_HIL_MLC 0x03000000UL
+#define SERIO_PS_PSTHRU 0x05000000UL
+#define SERIO_8042_XL 0x06000000UL
+
+#define SERIO_PROTO 0xFFUL
+#define SERIO_MSC 0x01
+#define SERIO_SUN 0x02
+#define SERIO_MS 0x03
+#define SERIO_MP 0x04
+#define SERIO_MZ 0x05
+#define SERIO_MZP 0x06
+#define SERIO_MZPP 0x07
+#define SERIO_VSXXXAA 0x08
+#define SERIO_SUNKBD 0x10
+#define SERIO_WARRIOR 0x18
+#define SERIO_SPACEORB 0x19
+#define SERIO_MAGELLAN 0x1a
+#define SERIO_SPACEBALL 0x1b
+#define SERIO_GUNZE 0x1c
+#define SERIO_IFORCE 0x1d
+#define SERIO_STINGER 0x1e
+#define SERIO_NEWTON 0x1f
+#define SERIO_STOWAWAY 0x20
+#define SERIO_H3600 0x21
+#define SERIO_PS2SER 0x22
+#define SERIO_TWIDKBD 0x23
+#define SERIO_TWIDJOY 0x24
+#define SERIO_HIL 0x25
+#define SERIO_SNES232 0x26
+#define SERIO_SEMTECH 0x27
+#define SERIO_LKKBD 0x28
+
+#define SERIO_ID 0xff00UL
+#define SERIO_EXTRA 0xff0000UL
+
+#endif
diff --git a/packages/linux-input/snes232.patch b/packages/linux-input/snes232.patch
index e69de29bb2..95523e4569 100644
--- a/packages/linux-input/snes232.patch
+++ b/packages/linux-input/snes232.patch
@@ -0,0 +1,10 @@
+--- inputattach.c.old 2004-10-09 23:17:27.000000000 +0100
++++ inputattach.c 2004-10-09 23:17:37.000000000 +0100
+@@ -369,6 +369,7 @@
+ { "--ps2serkbd", "-ps2ser", B1200, CS8, SERIO_PS2SER, 0x00, 1, NULL },
+ { "--twiddler", "-twid", B2400, CS8, SERIO_TWIDKBD, 0x00, 0, twiddler_init },
+ { "--twiddler-joy", "-twidjoy", B2400, CS8, SERIO_TWIDJOY, 0x00, 0, twiddler_init },
++{ "--snes232", "-pad", B115200, CS8, SERIO_SNES232, 0x00, 0, NULL },
+ { "--dump", "-dump", B2400, CS8, 0, 0x00, 0, dump_init },
+ { "", "", 0, 0 }
+