summaryrefslogtreecommitdiff
path: root/packages/linux-input/files
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-01-07 21:42:26 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-07 21:42:26 +0000
commitb6079b6c268d8df773e42a191f12c9afcd17d1c6 (patch)
treee665d9ee8167a8237254a624c79a3db8b7837cd3 /packages/linux-input/files
parent1fbdad585b0137cecf62a86a6dac7e91a44505a6 (diff)
Convert CVSDATE -> SRCDATE. Also standardise cvs and svn PVs to x.x.x+cvsYYYYMMDD format and some includes some minor whitespace cleanup.
Diffstat (limited to 'packages/linux-input/files')
-rw-r--r--packages/linux-input/files/.mtn2git_empty0
-rw-r--r--packages/linux-input/files/makefile.patch12
-rw-r--r--packages/linux-input/files/serio.h62
-rw-r--r--packages/linux-input/files/snes232.patch10
4 files changed, 84 insertions, 0 deletions
diff --git a/packages/linux-input/files/.mtn2git_empty b/packages/linux-input/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/linux-input/files/.mtn2git_empty
diff --git a/packages/linux-input/files/makefile.patch b/packages/linux-input/files/makefile.patch
new file mode 100644
index 0000000000..6499372f83
--- /dev/null
+++ b/packages/linux-input/files/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/files/serio.h b/packages/linux-input/files/serio.h
new file mode 100644
index 0000000000..82670ed3f5
--- /dev/null
+++ b/packages/linux-input/files/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/files/snes232.patch b/packages/linux-input/files/snes232.patch
new file mode 100644
index 0000000000..95523e4569
--- /dev/null
+++ b/packages/linux-input/files/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 }
+