summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>1998-08-28 23:21:06 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>1998-08-28 23:21:06 +0000
commit39387421b864c2f33297387e1c98db150fd1a851 (patch)
tree1b7b6f178a6977b85f93dde101b01080549df15b
parent5149baf24a9f04300e03b4ae8b77ad1eb4a41195 (diff)
PS2 mouse support for Magunms
-rw-r--r--drivers/char/psaux.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/char/psaux.c b/drivers/char/psaux.c
index 17c6c5383..aa022cd81 100644
--- a/drivers/char/psaux.c
+++ b/drivers/char/psaux.c
@@ -250,7 +250,11 @@ void aux_interrupt(unsigned char status, unsigned char data)
#else /* !defined(CONFIG_SGI) */
+#ifdef CONFIG_MIPS_JAZZ
+void aux_interrupt(int cpl, void *dev_id, struct pt_regs * regs)
+#else
static void aux_interrupt(int cpl, void *dev_id, struct pt_regs * regs)
+#endif
{
int head = queue->head;
int maxhead = (queue->tail-1) & (AUX_BUF_SIZE-1);
@@ -628,7 +632,7 @@ __initfunc(int psaux_init(void))
psaux_fops.release = release_qp;
} else
#endif
-#if defined(CONFIG_SGI) && defined(CONFIG_PSMOUSE)
+#if (defined(CONFIG_SGI) || defined(CONFIG_MIPS_JAZZ)) && defined(CONFIG_PSMOUSE)
if (1) {
#else
if (aux_device_present == 0xaa) {