···1717/*1818 * This program is free software; you can redistribute it and/or modify1919 * it under the terms of the GNU General Public License as published by2020- * the Free Software Foundation; either version 2 of the License, or 2020+ * the Free Software Foundation; either version 2 of the License, or2121 * (at your option) any later version.2222- * 2222+ *2323 * This program is distributed in the hope that it will be useful,2424 * but WITHOUT ANY WARRANTY; without even the implied warranty of2525 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2626 * GNU General Public License for more details.2727- * 2727+ *2828 * You should have received a copy of the GNU General Public License2929 * along with this program; if not, write to the Free Software3030 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA3131- * 3131+ *3232 * Should you need to contact me, the author, you can do so either by3333 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:3434 * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic···120120 .close = inport_close,121121 .name = INPORT_NAME,122122 .phys = "isa023c/input0",123123- .id = { 124124- .bustype = BUS_ISA,125125- .vendor = INPORT_VENDOR,126126- .product = 0x0001,127127- .version = 0x0100,123123+ .id = {124124+ .bustype = BUS_ISA,125125+ .vendor = INPORT_VENDOR,126126+ .product = 0x0001,127127+ .version = 0x0100,128128 },129129};130130
+5-5
drivers/input/mouse/logibm.c
···1818/*1919 * This program is free software; you can redistribute it and/or modify2020 * it under the terms of the GNU General Public License as published by2121- * the Free Software Foundation; either version 2 of the License, or 2121+ * the Free Software Foundation; either version 2 of the License, or2222 * (at your option) any later version.2323- * 2323+ *2424 * This program is distributed in the hope that it will be useful,2525 * but WITHOUT ANY WARRANTY; without even the implied warranty of2626 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2727 * GNU General Public License for more details.2828- * 2828+ *2929 * You should have received a copy of the GNU General Public License3030 * along with this program; if not, write to the Free Software3131 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA3232- * 3232+ *3333 * Should you need to contact me, the author, you can do so either by3434 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:3535 * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic···167167 outb(LOGIBM_DISABLE_IRQ, LOGIBM_CONTROL_PORT);168168169169 input_register_device(&logibm_dev);170170-170170+171171 printk(KERN_INFO "input: Logitech bus mouse at %#x irq %d\n", LOGIBM_BASE, logibm_irq);172172173173 return 0;
+2-2
drivers/input/mouse/maplemouse.c
···11/*22 * $Id: maplemouse.c,v 1.2 2004/03/22 01:18:15 lethal Exp $33- * SEGA Dreamcast mouse driver33+ * SEGA Dreamcast mouse driver44 * Based on drivers/usb/usbmouse.c55 */66···83838484 mouse->dev.name = dev->product_name;8585 mouse->dev.id.bustype = BUS_MAPLE;8686-8686+8787 input_register_device(&mouse->dev);88888989 maple_getcond_callback(dev, dc_mouse_callback, 1, MAPLE_FUNC_MOUSE);
+7-7
drivers/input/mouse/pc110pad.c
···44 * Copyright (c) 2000-2001 Vojtech Pavlik55 *66 * Based on the work of:77- * Alan Cox Robin O'Leary 77+ * Alan Cox Robin O'Leary88 */991010/*···74747575 if (pc110pad_count < 3)7676 return IRQ_HANDLED;7777-7777+7878 input_regs(&pc110pad_dev, regs);7979 input_report_key(&pc110pad_dev, BTN_TOUCH,8080 pc110pad_data[0] & 0x01);···145145146146 pc110pad_dev.absmax[ABS_X] = 0x1ff;147147 pc110pad_dev.absmax[ABS_Y] = 0x0ff;148148-148148+149149 pc110pad_dev.open = pc110pad_open;150150 pc110pad_dev.close = pc110pad_close;151151···156156 pc110pad_dev.id.product = 0x0001;157157 pc110pad_dev.id.version = 0x0100;158158159159- input_register_device(&pc110pad_dev); 159159+ input_register_device(&pc110pad_dev);160160161161 printk(KERN_INFO "input: %s at %#x irq %d\n",162162 pc110pad_name, pc110pad_io, pc110pad_irq);163163-163163+164164 return 0;165165}166166-166166+167167static void __exit pc110pad_exit(void)168168{169169- input_unregister_device(&pc110pad_dev); 169169+ input_unregister_device(&pc110pad_dev);170170171171 outb(PC110PAD_OFF, pc110pad_io + 2);172172
···5959 b = (short) (__raw_readl(0xe0310000) ^ 0x70);60606161 dx = x - rpcmouse_lastx;6262- dy = y - rpcmouse_lasty; 6262+ dy = y - rpcmouse_lasty;63636464 rpcmouse_lastx = x;6565 rpcmouse_lasty = y;
+2-2
drivers/input/mouse/vsxxxaa.c
···11/*22 * Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers)33- * DEC VSXXX-GA mouse (rectangular mouse, with ball)44- * DEC VSXXX-AB tablet (digitizer with hair cross or stylus)33+ * DEC VSXXX-GA mouse (rectangular mouse, with ball)44+ * DEC VSXXX-AB tablet (digitizer with hair cross or stylus)55 *66 * Copyright (C) 2003-2004 by Jan-Benedict Glaw <jbglaw@lug-owl.de>77 *