2 * OLPC touchpad PS/2 mouse driver
4 * Copyright (c) 2006 One Laptop Per Child, inc.
6 * This driver is partly based on the ALPS driver.
7 * Copyright (c) 2003 Peter Osterlund <petero2@telia.com>
8 * Copyright (c) 2005 Vojtech Pavlik <vojtech@suse.cz>
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License version 2 as published by
12 * the Free Software Foundation.
18 struct olpc_model_info {
19 unsigned char signature[3];
24 struct input_dev *dev2; /* Relative device */
25 struct psmouse *psmouse;
26 char name[32]; /* Name */
27 char phys[32]; /* Phys */
28 struct olpc_model_info *i; /* Info */
32 struct delayed_work mode_switch;
35 #ifdef CONFIG_MOUSE_PS2_OLPC
36 int olpc_detect(struct psmouse *psmouse, int set_properties);
37 int olpc_init(struct psmouse *psmouse);
39 inline int olpc_detect(struct psmouse *psmouse, int set_properties)
43 inline int olpc_init(struct psmouse *psmouse)