 +	return 0;
 +}
 diff -puN /dev/null drivers/input/mouse/alps.h
---- /dev/null	2003-01-30 11:24:37.000000000 +0100
-+++ linux-petero/drivers/input/mouse/alps.h	2004-04-22 23:33:12.000000000 +0200
+--- /dev/null	2004-02-23 22:02:56.000000000 +0100
++++ linux-petero/drivers/input/mouse/alps.h	2004-06-08 23:17:59.963953760 +0200
 @@ -0,0 +1,17 @@
 +/*
 + * ALPS touchpad PS/2 mouse driver

 
 MODULE_AUTHOR("Vojtech Pavlik <vojtech@suse.cz>");
 MODULE_DESCRIPTION("PS/2 mouse driver");
@@ -202,6 +203,10 @@ static irqreturn_t psmouse_interrupt(str
 		goto out;
 	}
 
+	if ((psmouse_max_proto > PSMOUSE_PS2) &&
+	    !ALPS_process_byte(psmouse, regs))
+		goto out;
+
 	if (psmouse->pktcnt == 3 + (psmouse->type >= PSMOUSE_GENPS)) {
 		psmouse_process_packet(psmouse, regs);
 		psmouse->pktcnt = 0;
@@ -542,6 +547,9 @@ static void psmouse_initialize(struct ps
  */
 
 	psmouse_command(psmouse, param, PSMOUSE_CMD_SETSTREAM);

+int ALPS_process_byte(struct psmouse *psmouse, struct pt_regs *regs);
+#endif
diff -puN drivers/input/mouse/psmouse-base.c~alps drivers/input/mouse/psmouse-base.c
--- linux/drivers/input/mouse/psmouse-base.c~alps	2004-06-08 23:17:59.943956800 +0200
+++ linux-petero/drivers/input/mouse/psmouse-base.c	2004-06-08 23:27:27.101735712 +0200
@@ -21,6 +21,7 @@
 #include "psmouse.h"
 #include "synaptics.h"
