lkml.org 
[lkml]   [1998]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 23 Dec 1998 16:19:12 -0800
FromGraffiti <>
SubjectADB mouse patch (sorta)
Hi all,

Couldn't compile w/o ADB mouse. Here's a patch.

-- DN (As usual, it compiles. No, I haven't tested it. :-)

--- /usr/src/linux/arch/m68k/mac/mackeyb.c Tue Dec 22 17:13:24 1998
+++ arch/m68k/mac/mackeyb.c Wed Dec 23 16:16:04 1998
@@ -504,6 +504,7 @@
return;
}

+#ifdef CONFIG_ADBMOUSE
if (adb_mouse_interrupt_hook) {
adb_mouse_interrupt_hook(data+2, nb-2);
/*
@@ -512,6 +513,7 @@
*/
return;
}
+#endif
#ifdef DEBUG_ADBMOUSE
else
if (console_loglevel >= 8)
@@ -628,8 +630,9 @@
memcpy(key_maps[12], mac_ctrl_alt_map, sizeof(plain_map));

/* initialize mouse interrupt hook */
+#ifdef CONFIG_ADBMOUSE
adb_mouse_interrupt_hook = NULL;
-
+#endif
/*
* Might put that someplace else, possibly ....
*/
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s--:+ a-->? C++(---) UL++++ US+++$ P- L+++ !E W-- N+++ !w M++$ V?>+++
PS--- PE++ t--(*) 5+ X+ R+(*) tv-- b+ DI+++ D--- G? e>++++ h* r++>+++ z+>++++
------END GEEK CODE BLOCK------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [from the cache]
©2003-2010