projects/linux·commit 519f0141

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

519f0141 · Linus Torvalds <[email protected]> · 2008-07-21 10:27:31 -07:00

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (48 commits)
  Input: add switch for dock events
  Input: add microphone insert switch definition
  Input: i8042 - add Arima-Rioworks HDAMB board to noloop list
  Input: sgi_btns - add support for SGI Indy volume buttons
  Input: add option to disable HP SDC driver
  Input: serio - trivial documentation fix
  Input: add new serio driver for Xilinx XPS PS2 IP
  Input: add driver for Tabletkiosk Sahara TouchIT-213 touchscreen
  Input: new driver for SGI O2 volume buttons
  Input: yealink - reliably kill urbs
  Input: q40kbd - make q40kbd_lock static
  Input: gtco - eliminate early return
  Input: i8042 - add Dritek quirk for Acer Aspire 5720
  Input: usbtouchscreen - ignore eGalax screens supporting HID protocol
  Input: i8042 - add Medion NAM 2070 to noloop blacklist
  Input: i8042 - add Gericom Bellagio to nomux blacklist
  Input: i8042 - add Acer Aspire 1360 to nomux blacklist
  Input: hp_sdc_mlc.c - make a struct static
  Input: hil_mlc.c - make code static
  Input: wistron - generate normal key event if bluetooth or wifi not present
  ...
Commit
519f0141f1c42e2b8b59c7dea005cbf6095358e8
Parents
f8b71a3a · 908cf4b9

Merge commit. Changes below are compared with the first parent: f8b71a3a.

Changes

100 files changed · +2283 −550

FileStatusAddDelContent
Documentation/input/gameport-programming.txtmodified+0−2View file
Documentation/input/input.txtmodified+0−1View file
Documentation/input/joystick-api.txtmodified+0−2View file
Documentation/input/joystick-parport.txtmodified+0−1View file
Documentation/input/joystick.txtmodified+0−1View file
MAINTAINERSmodified+6−0View file
drivers/char/keyboard.cmodified+2−0View file
drivers/hwmon/hdaps.cmodified+2−0View file
drivers/input/evbug.cmodified+7−5View file
drivers/input/evdev.cmodified+90−11View file
drivers/input/ff-memless.cmodified+2−2View file
drivers/input/gameport/emu10k1-gp.cmodified+0−2View file
drivers/input/gameport/gameport.cmodified+0−22View file
drivers/input/gameport/lightning.cmodified+0−2View file
drivers/input/gameport/ns558.cmodified+0−2View file
drivers/input/input.cmodified+1−1View file
drivers/input/joystick/a3d.cmodified+0−2View file
drivers/input/joystick/amijoy.cmodified+0−2View file
drivers/input/joystick/cobra.cmodified+0−2View file
drivers/input/joystick/db9.cmodified+0−2View file
drivers/input/joystick/gf2k.cmodified+0−2View file
drivers/input/joystick/grip.cmodified+0−2View file
drivers/input/joystick/grip_mp.cmodified+0−2View file
drivers/input/joystick/guillemot.cmodified+0−2View file
drivers/input/joystick/iforce/iforce-ff.cmodified+0−2View file
drivers/input/joystick/iforce/iforce-main.cmodified+0−2View file
drivers/input/joystick/iforce/iforce-packets.cmodified+0−2View file
drivers/input/joystick/iforce/iforce-serio.cmodified+0−2View file
drivers/input/joystick/iforce/iforce-usb.cmodified+3−5View file
drivers/input/joystick/iforce/iforce.hmodified+0−2View file
drivers/input/joystick/interact.cmodified+0−2View file
drivers/input/joystick/joydump.cmodified+0−2View file
drivers/input/joystick/magellan.cmodified+0−2View file
drivers/input/joystick/spaceball.cmodified+0−2View file
drivers/input/joystick/spaceorb.cmodified+0−2View file
drivers/input/joystick/stinger.cmodified+0−2View file
drivers/input/joystick/tmdc.cmodified+0−2View file
drivers/input/joystick/turbografx.cmodified+0−2View file
drivers/input/joystick/twidjoy.cmodified+0−4View file
drivers/input/joystick/warrior.cmodified+0−2View file
drivers/input/joystick/xpad.cmodified+6−6View file
drivers/input/keyboard/amikbd.cmodified+0−2View file
drivers/input/keyboard/atkbd.cmodified+36−10View file
drivers/input/keyboard/gpio_keys.cmodified+69−20View file
drivers/input/keyboard/lkkbd.cmodified+3−3View file
drivers/input/keyboard/pxa27x_keypad.cmodified+14−1View file
drivers/input/keyboard/sunkbd.cmodified+0−2View file
drivers/input/keyboard/xtkbd.cmodified+0−2View file
drivers/input/misc/Kconfigmodified+10−0View file
drivers/input/misc/Makefilemodified+1−0View file
drivers/input/misc/ati_remote.cmodified+9−9View file
drivers/input/misc/ati_remote2.cmodified+9−9View file
drivers/input/misc/keyspan_remote.cmodified+10−10View file
drivers/input/misc/powermate.cmodified+3−3View file
drivers/input/misc/sgi_btns.cadded+178−0View file
drivers/input/misc/wistron_btns.cmodified+18−1View file
drivers/input/misc/yealink.cmodified+32−18View file
drivers/input/mouse/appletouch.cmodified+138−161View file
drivers/input/mouse/atarimouse.cmodified+12−15View file
drivers/input/mouse/hil_ptr.cmodified+26−11View file
drivers/input/mouse/inport.cmodified+0−2View file
drivers/input/mouse/logibm.cmodified+0−2View file
drivers/input/mouse/pc110pad.cmodified+0−2View file
drivers/input/mouse/sermouse.cmodified+0−2View file
drivers/input/serio/Kconfigmodified+10−0View file
drivers/input/serio/Makefilemodified+1−0View file
drivers/input/serio/ct82c710.cmodified+0−2View file
drivers/input/serio/hil_mlc.cmodified+3−3View file
drivers/input/serio/hp_sdc.cmodified+9−0View file
drivers/input/serio/hp_sdc_mlc.cmodified+1−1View file
drivers/input/serio/i8042-x86ia64io.hmodified+56−11View file
drivers/input/serio/libps2.cmodified+0−52View file
drivers/input/serio/q40kbd.cmodified+1−3View file
drivers/input/serio/rpckbd.cmodified+0−2View file
drivers/input/serio/serio.cmodified+6−3View file
drivers/input/serio/xilinx_ps2.cadded+380−0View file
drivers/input/tablet/acecad.cmodified+2−2View file
drivers/input/tablet/aiptek.cmodified+3−3View file
drivers/input/tablet/gtco.cmodified+1−1View file
drivers/input/tablet/kbtab.cmodified+3−3View file
drivers/input/tablet/wacom.hmodified+1−1View file
drivers/input/tablet/wacom_sys.cmodified+3−3View file
drivers/input/tablet/wacom_wac.cmodified+19−20View file
drivers/input/touchscreen/Kconfigmodified+46−0View file
drivers/input/touchscreen/Makefilemodified+4−0View file
drivers/input/touchscreen/gunze.cmodified+0−2View file
drivers/input/touchscreen/h3600_ts_input.cmodified+0−2View file
drivers/input/touchscreen/htcpen.cadded+255−0View file
drivers/input/touchscreen/inexio.cadded+207−0View file
drivers/input/touchscreen/migor_ts.cadded+250−0View file
drivers/input/touchscreen/touchit213.cadded+234−0View file
drivers/input/touchscreen/usbtouchscreen.cmodified+30−12View file
drivers/input/touchscreen/wm9712.cmodified+12−6View file
drivers/macintosh/adbhid.cmodified+51−10View file
include/linux/gameport.hmodified+0−1View file
include/linux/gpio_keys.hmodified+1−0View file
include/linux/input.hmodified+4−5View file
include/linux/joystick.hmodified+0−2View file
include/linux/libps2.hmodified+0−1View file
include/linux/serio.hmodified+3−1View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/input/gameport-programming.txt

View file
diff --git a/Documentation/input/gameport-programming.txt b/Documentation/input/gameport-programming.txt
index 14e0a8b..03a74fc 100644
--- a/Documentation/input/gameport-programming.txt
+++ b/Documentation/input/gameport-programming.txt
@@ -1,5 +1,3 @@
-$Id: gameport-programming.txt,v 1.3 2001/04/24 13:51:37 vojtech Exp $
-
Programming gameport drivers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Documentation/input/input.txt

View file
diff --git a/Documentation/input/input.txt b/Documentation/input/input.txt
index ff8cea0..686ee99 100644
--- a/Documentation/input/input.txt
+++ b/Documentation/input/input.txt
@@ -1,7 +1,6 @@
Linux Input drivers v1.0
(c) 1999-2001 Vojtech Pavlik <[email protected]>
Sponsored by SuSE
- $Id: input.txt,v 1.8 2002/05/29 03:15:01 bradleym Exp $
----------------------------------------------------------------------------
0. Disclaimer

Documentation/input/joystick-api.txt

View file
diff --git a/Documentation/input/joystick-api.txt b/Documentation/input/joystick-api.txt
index acbd32b..c507330 100644
--- a/Documentation/input/joystick-api.txt
+++ b/Documentation/input/joystick-api.txt
@@ -5,8 +5,6 @@
7 Aug 1998
- $Id: joystick-api.txt,v 1.2 2001/05/08 21:21:23 vojtech Exp $
-
1. Initialization
~~~~~~~~~~~~~~~~~

Documentation/input/joystick-parport.txt

View file
diff --git a/Documentation/input/joystick-parport.txt b/Documentation/input/joystick-parport.txt
index ede5f33..1c856f3 100644
--- a/Documentation/input/joystick-parport.txt
+++ b/Documentation/input/joystick-parport.txt
@@ -2,7 +2,6 @@
(c) 1998-2000 Vojtech Pavlik <[email protected]>
(c) 1998 Andree Borrmann <[email protected]>
Sponsored by SuSE
- $Id: joystick-parport.txt,v 1.6 2001/09/25 09:31:32 vojtech Exp $
----------------------------------------------------------------------------
0. Disclaimer

Documentation/input/joystick.txt

View file
diff --git a/Documentation/input/joystick.txt b/Documentation/input/joystick.txt
index 389de9b..154d767 100644
--- a/Documentation/input/joystick.txt
+++ b/Documentation/input/joystick.txt
@@ -1,7 +1,6 @@
Linux Joystick driver v2.0.0
(c) 1996-2000 Vojtech Pavlik <[email protected]>
Sponsored by SuSE
- $Id: joystick.txt,v 1.12 2002/03/03 12:13:07 jdeneux Exp $
----------------------------------------------------------------------------
0. Disclaimer

MAINTAINERS

View file
diff --git a/MAINTAINERS b/MAINTAINERS
index ec0c9c9..df3fa0e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1988,6 +1988,12 @@ M: [email protected]
W: http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/hpfs/index-e.cgi
S: Maintained
+HTCPEN TOUCHSCREEN DRIVER
+P: Pau Oliva Fora
+S: Maintained
+
HUGETLB FILESYSTEM
P: William Irwin

drivers/char/keyboard.c

View file
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c
index d9a0a53..7b3a212 100644
--- a/drivers/char/keyboard.c
+++ b/drivers/char/keyboard.c
@@ -46,6 +46,8 @@
extern void ctrl_alt_del(void);
+#define to_handle_h(n) container_of(n, struct input_handle, h_node)
+
/*
* Exported functions/variables
*/

drivers/hwmon/hdaps.c

View file
diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c
index 50f2269..a4d92d2 100644
--- a/drivers/hwmon/hdaps.c
+++ b/drivers/hwmon/hdaps.c
@@ -581,6 +581,8 @@ static int __init hdaps_init(void)
/* initialize the input class */
idev = hdaps_idev->input;
idev->name = "hdaps";
+ idev->phys = "isa1600/input0";
+ idev->id.bustype = BUS_ISA;
idev->dev.parent = &pdev->dev;
idev->evbit[0] = BIT_MASK(EV_ABS);
input_set_abs_params(idev, ABS_X,

drivers/input/evbug.c

View file
diff --git a/drivers/input/evbug.c b/drivers/input/evbug.c
index c21f2f1..0353601 100644
--- a/drivers/input/evbug.c
+++ b/drivers/input/evbug.c
@@ -1,6 +1,4 @@
/*
- * $Id: evbug.c,v 1.10 2001/09/25 10:12:07 vojtech Exp $
- *
* Copyright (c) 1999-2001 Vojtech Pavlik
*/
@@ -41,7 +39,7 @@ MODULE_LICENSE("GPL");
static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int value)
{
printk(KERN_DEBUG "evbug.c: Event. Dev: %s, Type: %d, Code: %d, Value: %d\n",
- handle->dev->phys, type, code, value);
+ handle->dev->dev.bus_id, type, code, value);
}
static int evbug_connect(struct input_handler *handler, struct input_dev *dev,
@@ -66,7 +64,10 @@ static int evbug_connect(struct input_handler *handler, struct input_dev *dev,
if (error)
goto err_unregister_handle;
- printk(KERN_DEBUG "evbug.c: Connected device: \"%s\", %s\n", dev->name, dev->phys);
+ printk(KERN_DEBUG "evbug.c: Connected device: %s (%s at %s)\n",
+ dev->dev.bus_id,
+ dev->name ?: "unknown",
+ dev->phys ?: "unknown");
return 0;
@@ -79,7 +80,8 @@ static int evbug_connect(struct input_handler *handler, struct input_dev *dev,
static void evbug_disconnect(struct input_handle *handle)
{
- printk(KERN_DEBUG "evbug.c: Disconnected device: %s\n", handle->dev->phys);
+ printk(KERN_DEBUG "evbug.c: Disconnected device: %s\n",
+ handle->dev->dev.bus_id);
input_close_device(handle);
input_unregister_handle(handle);

drivers/input/evdev.c

View file
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index b32984b..2d65411 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -300,6 +300,35 @@ struct input_event_compat {
__s32 value;
};
+struct ff_periodic_effect_compat {
+ __u16 waveform;
+ __u16 period;
+ __s16 magnitude;
+ __s16 offset;
+ __u16 phase;
+
+ struct ff_envelope envelope;
+
+ __u32 custom_len;
+ compat_uptr_t custom_data;
+};
+
+struct ff_effect_compat {
+ __u16 type;
+ __s16 id;
+ __u16 direction;
+ struct ff_trigger trigger;
+ struct ff_replay replay;
+
+ union {
+ struct ff_constant_effect constant;
+ struct ff_ramp_effect ramp;
+ struct ff_periodic_effect_compat periodic;
+ struct ff_condition_effect condition[2]; /* One for each axis */
+ struct ff_rumble_effect rumble;
+ } u;
+};
+
/* Note to the author of this code: did it ever occur to
you why the ifdefs are needed? Think about it again. -AK */
#ifdef CONFIG_X86_64
@@ -368,6 +397,42 @@ static int evdev_event_to_user(char __user *buffer,
return 0;
}
+static int evdev_ff_effect_from_user(const char __user *buffer, size_t size,
+ struct ff_effect *effect)
+{
+ if (COMPAT_TEST) {
+ struct ff_effect_compat *compat_effect;
+
+ if (size != sizeof(struct ff_effect_compat))
+ return -EINVAL;
+
+ /*
+ * It so happens that the pointer which needs to be changed
+ * is the last field in the structure, so we can copy the
+ * whole thing and replace just the pointer.
+ */
+
+ compat_effect = (struct ff_effect_compat *)effect;
+
+ if (copy_from_user(compat_effect, buffer,
+ sizeof(struct ff_effect_compat)))
+ return -EFAULT;
+
+ if (compat_effect->type == FF_PERIODIC &&
+ compat_effect->u.periodic.waveform == FF_CUSTOM)
+ effect->u.periodic.custom_data =
+ compat_ptr(compat_effect->u.periodic.custom_data);
+ } else {
+ if (size != sizeof(struct ff_effect))
+ return -EINVAL;
+
+ if (copy_from_user(effect, buffer, sizeof(struct ff_effect)))
+ return -EFAULT;
+ }
+
+ return 0;
+}
+
#else
static inline size_t evdev_event_size(void)
@@ -393,6 +458,18 @@ static int evdev_event_to_user(char __user *buffer,
return 0;
}
+static int evdev_ff_effect_from_user(const char __user *buffer, size_t size,
+ struct ff_effect *effect)
+{
+ if (size != sizeof(struct ff_effect))
+ return -EINVAL;
+
+ if (copy_from_user(effect, buffer, sizeof(struct ff_effect)))
+ return -EFAULT;
+
+ return 0;
+}
+
#endif /* CONFIG_COMPAT */
static ssize_t evdev_write(struct file *file, const char __user *buffer,
@@ -633,17 +710,6 @@ static long evdev_do_ioctl(struct file *file, unsigned int cmd,
return input_set_keycode(dev, t, v);
- case EVIOCSFF:
- if (copy_from_user(&effect, p, sizeof(effect)))
- return -EFAULT;
-
- error = input_ff_upload(dev, &effect, file);
-
- if (put_user(effect.id, &(((struct ff_effect __user *)p)->id)))
- return -EFAULT;
-
- return error;
-
case EVIOCRMFF:
return input_ff_erase(dev, (int)(unsigned long) p, file);
@@ -733,6 +799,19 @@ static long evdev_do_ioctl(struct file *file, unsigned int cmd,
if (_IOC_DIR(cmd) == _IOC_WRITE) {
+ if (_IOC_NR(cmd) == _IOC_NR(EVIOCSFF)) {
+
+ if (evdev_ff_effect_from_user(p, _IOC_SIZE(cmd), &effect))
+ return -EFAULT;
+
+ error = input_ff_upload(dev, &effect, file);
+
+ if (put_user(effect.id, &(((struct ff_effect __user *)p)->id)))
+ return -EFAULT;
+
+ return error;
+ }
+
if ((_IOC_NR(cmd) & ~ABS_MAX) == _IOC_NR(EVIOCSABS(0))) {
t = _IOC_NR(cmd) & ABS_MAX;

drivers/input/ff-memless.c

View file
diff --git a/drivers/input/ff-memless.c b/drivers/input/ff-memless.c
index d226d93..6790e97 100644
--- a/drivers/input/ff-memless.c
+++ b/drivers/input/ff-memless.c
@@ -247,9 +247,9 @@ static void ml_combine_effects(struct ff_effect *effect,
* in s8, this should be changed to something more generic
*/
effect->u.ramp.start_level =
- max(min(effect->u.ramp.start_level + x, 0x7f), -0x80);
+ clamp_val(effect->u.ramp.start_level + x, -0x80, 0x7f);
effect->u.ramp.end_level =
- max(min(effect->u.ramp.end_level + y, 0x7f), -0x80);
+ clamp_val(effect->u.ramp.end_level + y, -0x80, 0x7f);
break;
case FF_RUMBLE:

drivers/input/gameport/emu10k1-gp.c

View file
diff --git a/drivers/input/gameport/emu10k1-gp.c b/drivers/input/gameport/emu10k1-gp.c
index 9793ac3..b04930f 100644
--- a/drivers/input/gameport/emu10k1-gp.c
+++ b/drivers/input/gameport/emu10k1-gp.c
@@ -1,6 +1,4 @@
/*
- * $Id: emu10k1-gp.c,v 1.8 2002/01/22 20:40:46 vojtech Exp $
- *
* Copyright (c) 2001 Vojtech Pavlik
*/

drivers/input/gameport/gameport.c

View file
diff --git a/drivers/input/gameport/gameport.c b/drivers/input/gameport/gameport.c
index c5600ac..078e4ee 100644
--- a/drivers/input/gameport/gameport.c
+++ b/drivers/input/gameport/gameport.c
@@ -36,7 +36,6 @@ EXPORT_SYMBOL(__gameport_register_driver);
EXPORT_SYMBOL(gameport_unregister_driver);
EXPORT_SYMBOL(gameport_open);
EXPORT_SYMBOL(gameport_close);
-EXPORT_SYMBOL(gameport_rescan);
EXPORT_SYMBOL(gameport_set_phys);
EXPORT_SYMBOL(gameport_start_polling);
EXPORT_SYMBOL(gameport_stop_polling);
@@ -230,8 +229,6 @@ static void gameport_find_driver(struct gameport *gameport)
*/
enum gameport_event_type {
- GAMEPORT_RESCAN,
- GAMEPORT_RECONNECT,
GAMEPORT_REGISTER_PORT,
GAMEPORT_REGISTER_DRIVER,
};
@@ -365,15 +362,6 @@ static void gameport_handle_event(void)
gameport_add_port(event->object);
break;
- case GAMEPORT_RECONNECT:
- gameport_reconnect_port(event->object);
- break;
-
- case GAMEPORT_RESCAN:
- gameport_disconnect_port(event->object);
- gameport_find_driver(event->object);
- break;
-
case GAMEPORT_REGISTER_DRIVER:
gameport_add_driver(event->object);
break;
@@ -651,16 +639,6 @@ static void gameport_disconnect_port(struct gameport *gameport)
device_release_driver(&gameport->dev);
}
-void gameport_rescan(struct gameport *gameport)
-{
- gameport_queue_event(gameport, NULL, GAMEPORT_RESCAN);
-}
-
-void gameport_reconnect(struct gameport *gameport)
-{
- gameport_queue_event(gameport, NULL, GAMEPORT_RECONNECT);
-}
-
/*
* Submits register request to kgameportd for subsequent execution.
* Note that port registration is always asynchronous.

drivers/input/gameport/lightning.c

View file
diff --git a/drivers/input/gameport/lightning.c b/drivers/input/gameport/lightning.c
index 6b4d456..06ad36e 100644
--- a/drivers/input/gameport/lightning.c
+++ b/drivers/input/gameport/lightning.c
@@ -1,6 +1,4 @@
/*
- * $Id: lightning.c,v 1.20 2002/01/22 20:41:31 vojtech Exp $
- *
* Copyright (c) 1998-2001 Vojtech Pavlik
*/

drivers/input/gameport/ns558.c

View file
diff --git a/drivers/input/gameport/ns558.c b/drivers/input/gameport/ns558.c
index 7b7a546..2b282cd 100644
--- a/drivers/input/gameport/ns558.c
+++ b/drivers/input/gameport/ns558.c
@@ -1,6 +1,4 @@
/*
- * $Id: ns558.c,v 1.43 2002/01/24 19:23:21 vojtech Exp $
- *
* Copyright (c) 1999-2001 Vojtech Pavlik
* Copyright (c) 1999 Brian Gerst
*/

drivers/input/input.c

View file
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 408df0b..c13ced3 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -242,7 +242,7 @@ static void input_handle_event(struct input_dev *dev,
break;
}
- if (type != EV_SYN)
+ if (disposition != INPUT_IGNORE_EVENT && type != EV_SYN)
dev->sync = 0;
if ((disposition & INPUT_PASS_TO_DEVICE) && dev->event)

drivers/input/joystick/a3d.c

View file
diff --git a/drivers/input/joystick/a3d.c b/drivers/input/joystick/a3d.c
index 52ba16f..92498d4 100644
--- a/drivers/input/joystick/a3d.c
+++ b/drivers/input/joystick/a3d.c
@@ -1,6 +1,4 @@
/*
- * $Id: a3d.c,v 1.21 2002/01/22 20:11:50 vojtech Exp $
- *
* Copyright (c) 1998-2001 Vojtech Pavlik
*/

drivers/input/joystick/amijoy.c

View file
diff --git a/drivers/input/joystick/amijoy.c b/drivers/input/joystick/amijoy.c
index deb9f82..05022f0 100644
--- a/drivers/input/joystick/amijoy.c
+++ b/drivers/input/joystick/amijoy.c
@@ -1,6 +1,4 @@
/*
- * $Id: amijoy.c,v 1.13 2002/01/22 20:26:32 vojtech Exp $
- *
* Copyright (c) 1998-2001 Vojtech Pavlik
*/

drivers/input/joystick/cobra.c

View file
diff --git a/drivers/input/joystick/cobra.c b/drivers/input/joystick/cobra.c
index 55646a6..639b975 100644
--- a/drivers/input/joystick/cobra.c
+++ b/drivers/input/joystick/cobra.c
@@ -1,6 +1,4 @@
/*
- * $Id: cobra.c,v 1.19 2002/01/22 20:26:52 vojtech Exp $
- *
* Copyright (c) 1999-2001 Vojtech Pavlik
*/

drivers/input/joystick/db9.c

View file
diff --git a/drivers/input/joystick/db9.c b/drivers/input/joystick/db9.c
index 960e501..5239594 100644
--- a/drivers/input/joystick/db9.c
+++ b/drivers/input/joystick/db9.c
@@ -1,6 +1,4 @@
/*
- * $Id: db9.c,v 1.13 2002/04/07 20:13:37 vojtech Exp $
- *
* Copyright (c) 1999-2001 Vojtech Pavlik
*
* Based on the work of:

drivers/input/joystick/gf2k.c

View file
diff --git a/drivers/input/joystick/gf2k.c b/drivers/input/joystick/gf2k.c
index 1f6302c..cb6eef1 100644
--- a/drivers/input/joystick/gf2k.c
+++ b/drivers/input/joystick/gf2k.c
@@ -1,6 +1,4 @@
/*
- * $Id: gf2k.c,v 1.19 2002/01/22 20:27:43 vojtech Exp $
- *
* Copyright (c) 1998-2001 Vojtech Pavlik
*/

drivers/input/joystick/grip.c

View file
diff --git a/drivers/input/joystick/grip.c b/drivers/input/joystick/grip.c
index fd3853a..684e07c 100644
--- a/drivers/input/joystick/grip.c
+++ b/drivers/input/joystick/grip.c
@@ -1,6 +1,4 @@
/*
- * $Id: grip.c,v 1.21 2002/01/22 20:27:57 vojtech Exp $
- *
* Copyright (c) 1998-2001 Vojtech Pavlik
*/

drivers/input/joystick/grip_mp.c

View file
diff --git a/drivers/input/joystick/grip_mp.c b/drivers/input/joystick/grip_mp.c
index c57e21d..8279481 100644
--- a/drivers/input/joystick/grip_mp.c
+++ b/drivers/input/joystick/grip_mp.c
@@ -1,6 +1,4 @@
/*
- * $Id: grip_mp.c,v 1.9 2002/07/20 19:28:45 bonnland Exp $
- *
* Driver for the Gravis Grip Multiport, a gamepad "hub" that
* connects up to four 9-pin digital gamepads/joysticks.
* Driver tested on SMP and UP kernel versions 2.4.18-4 and 2.4.18-5.

drivers/input/joystick/guillemot.c

View file
diff --git a/drivers/input/joystick/guillemot.c b/drivers/input/joystick/guillemot.c
index aa6bfb3..25ec3fa 100644
--- a/drivers/input/joystick/guillemot.c
+++ b/drivers/input/joystick/guillemot.c
@@ -1,6 +1,4 @@
/*
- * $Id: guillemot.c,v 1.10 2002/01/22 20:28:12 vojtech Exp $
- *
* Copyright (c) 2001 Vojtech Pavlik
*/

drivers/input/joystick/iforce/iforce-ff.c

View file
diff --git a/drivers/input/joystick/iforce/iforce-ff.c b/drivers/input/joystick/iforce/iforce-ff.c
index f2a4381..7839b7b 100644
--- a/drivers/input/joystick/iforce/iforce-ff.c
+++ b/drivers/input/joystick/iforce/iforce-ff.c
@@ -1,6 +1,4 @@
/*
- * $Id: iforce-ff.c,v 1.9 2002/02/02 19:28:35 jdeneux Exp $
- *
* Copyright (c) 2000-2002 Vojtech Pavlik <[email protected]>
* Copyright (c) 2001-2002, 2007 Johann Deneux <[email protected]>
*

drivers/input/joystick/iforce/iforce-main.c

View file
diff --git a/drivers/input/joystick/iforce/iforce-main.c b/drivers/input/joystick/iforce/iforce-main.c
index a2517fa..61ee6e3 100644
--- a/drivers/input/joystick/iforce/iforce-main.c
+++ b/drivers/input/joystick/iforce/iforce-main.c
@@ -1,6 +1,4 @@
/*
- * $Id: iforce-main.c,v 1.19 2002/07/07 10:22:50 jdeneux Exp $
- *
* Copyright (c) 2000-2002 Vojtech Pavlik <[email protected]>
* Copyright (c) 2001-2002, 2007 Johann Deneux <[email protected]>
*

drivers/input/joystick/iforce/iforce-packets.c

View file
diff --git a/drivers/input/joystick/iforce/iforce-packets.c b/drivers/input/joystick/iforce/iforce-packets.c
index 45c4939..015b50a 100644
--- a/drivers/input/joystick/iforce/iforce-packets.c
+++ b/drivers/input/joystick/iforce/iforce-packets.c
@@ -1,6 +1,4 @@
/*
- * $Id: iforce-packets.c,v 1.16 2002/07/07 10:22:50 jdeneux Exp $
- *
* Copyright (c) 2000-2002 Vojtech Pavlik <[email protected]>
* Copyright (c) 2001-2002, 2007 Johann Deneux <[email protected]>
*

drivers/input/joystick/iforce/iforce-serio.c

View file
diff --git a/drivers/input/joystick/iforce/iforce-serio.c b/drivers/input/joystick/iforce/iforce-serio.c
index 7b4bc19..46d5041 100644
--- a/drivers/input/joystick/iforce/iforce-serio.c
+++ b/drivers/input/joystick/iforce/iforce-serio.c
@@ -1,6 +1,4 @@
/*
- * $Id: iforce-serio.c,v 1.4 2002/01/28 22:45:00 jdeneux Exp $
- *
* Copyright (c) 2000-2001 Vojtech Pavlik <[email protected]>
* Copyright (c) 2001, 2007 Johann Deneux <[email protected]>
*

drivers/input/joystick/iforce/iforce-usb.c

View file
diff --git a/drivers/input/joystick/iforce/iforce-usb.c b/drivers/input/joystick/iforce/iforce-usb.c
index 7fb3cf8..851cc40 100644
--- a/drivers/input/joystick/iforce/iforce-usb.c
+++ b/drivers/input/joystick/iforce/iforce-usb.c
@@ -1,6 +1,4 @@
/*
- * $Id: iforce-usb.c,v 1.16 2002/06/09 11:08:04 jdeneux Exp $
- *
* Copyright (c) 2000-2002 Vojtech Pavlik <[email protected]>
* Copyright (c) 2001-2002, 2007 Johann Deneux <[email protected]>
*
@@ -89,10 +87,10 @@ static void iforce_usb_irq(struct urb *urb)
case -ESHUTDOWN:
/* this urb is terminated, clean up */
dbg("%s - urb shutting down with status: %d",
- __FUNCTION__, urb->status);
+ __func__, urb->status);
return;
default:
- dbg("%s - urb has status of: %d", __FUNCTION__, urb->status);
+ dbg("%s - urb has status of: %d", __func__, urb->status);
goto exit;
}
@@ -103,7 +101,7 @@ exit:
status = usb_submit_urb (urb, GFP_ATOMIC);
if (status)
err ("%s - usb_submit_urb failed with result %d",
- __FUNCTION__, status);
+ __func__, status);
}
static void iforce_usb_out(struct urb *urb)

drivers/input/joystick/iforce/iforce.h

View file
diff --git a/drivers/input/joystick/iforce/iforce.h b/drivers/input/joystick/iforce/iforce.h
index a964a7c..f2d91f4 100644
--- a/drivers/input/joystick/iforce/iforce.h
+++ b/drivers/input/joystick/iforce/iforce.h
@@ -1,6 +1,4 @@
/*
- * $Id: iforce.h,v 1.13 2002/07/07 10:22:50 jdeneux Exp $
- *
* Copyright (c) 2000-2002 Vojtech Pavlik <[email protected]>
* Copyright (c) 2001-2002, 2007 Johann Deneux <[email protected]>
*

drivers/input/joystick/interact.c

View file
diff --git a/drivers/input/joystick/interact.c b/drivers/input/joystick/interact.c
index bc8ea95..8c3290b 100644
--- a/drivers/input/joystick/interact.c
+++ b/drivers/input/joystick/interact.c
@@ -1,6 +1,4 @@
/*
- * $Id: interact.c,v 1.16 2002/01/22 20:28:25 vojtech Exp $
- *
* Copyright (c) 2001 Vojtech Pavlik
*
* Based on the work of:

drivers/input/joystick/joydump.c

View file
diff --git a/drivers/input/joystick/joydump.c b/drivers/input/joystick/joydump.c
index 88ec5a9..2a1b82c 100644
--- a/drivers/input/joystick/joydump.c
+++ b/drivers/input/joystick/joydump.c
@@ -1,6 +1,4 @@
/*
- * $Id: joydump.c,v 1.1 2002/01/23 06:56:16 jsimmons Exp $
- *
* Copyright (c) 1996-2001 Vojtech Pavlik
*/

drivers/input/joystick/magellan.c

View file
diff --git a/drivers/input/joystick/magellan.c b/drivers/input/joystick/magellan.c
index 54e6769..40e4078 100644

This diff is incomplete. Download the complete patch.

drivers/input/joystick/spaceball.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/joystick/spaceorb.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/joystick/stinger.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/joystick/tmdc.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/joystick/turbografx.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/joystick/twidjoy.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/joystick/warrior.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/joystick/xpad.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/keyboard/amikbd.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/keyboard/atkbd.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/keyboard/gpio_keys.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/keyboard/lkkbd.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/keyboard/pxa27x_keypad.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/keyboard/sunkbd.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/keyboard/xtkbd.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/ati_remote.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/ati_remote2.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/keyspan_remote.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/powermate.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/sgi_btns.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/wistron_btns.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/yealink.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/mouse/appletouch.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/mouse/atarimouse.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/mouse/hil_ptr.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/mouse/inport.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/mouse/logibm.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/mouse/pc110pad.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/mouse/sermouse.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/ct82c710.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/hil_mlc.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/hp_sdc.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/hp_sdc_mlc.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/i8042-x86ia64io.h

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/libps2.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/q40kbd.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/rpckbd.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/serio.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/serio/xilinx_ps2.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/tablet/acecad.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/tablet/aiptek.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/tablet/gtco.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/tablet/kbtab.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/tablet/wacom.h

View file

This diff is incomplete. Download the complete patch.

drivers/input/tablet/wacom_sys.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/tablet/wacom_wac.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/gunze.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/h3600_ts_input.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/htcpen.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/inexio.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/migor_ts.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/touchit213.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/usbtouchscreen.c

View file

This diff is incomplete. Download the complete patch.

drivers/input/touchscreen/wm9712.c

View file

This diff is incomplete. Download the complete patch.

drivers/macintosh/adbhid.c

View file

This diff is incomplete. Download the complete patch.

include/linux/gameport.h

View file

This diff is incomplete. Download the complete patch.

include/linux/gpio_keys.h

View file

This diff is incomplete. Download the complete patch.

include/linux/input.h

View file

This diff is incomplete. Download the complete patch.

include/linux/joystick.h

View file

This diff is incomplete. Download the complete patch.

include/linux/libps2.h

View file

This diff is incomplete. Download the complete patch.

include/linux/serio.h

View file

This diff is incomplete. Download the complete patch.