lkml.org 
[lkml]   [1996]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/mice and dynamic mouse minors
On Wed, 27 Mar 1996 rubini@pop.systemy.it wrote:

>
> Hello Linus and Linuxers.
>
> This patch adds support for dynamic assignment of minor numbers to mouse
> devices (misc char devices), and the file /proc/mice, which lists the
> currently defined minor numbers.
>
[...]

Hmm, seems the patch is'nt complete, I can't compile it.
MOUSE_DYNAMIC_MINOR is'nt defined anywhere:

mouse.c: In function `mouse_register':
mouse.c:106: `MOUSE_DYNAMIC_MINOR' undeclared (first use this function)
mouse.c:106: (Each undeclared identifier is reported only once
mouse.c:106: for each function it appears in.)
make[3]: *** [mouse.o] Error 1

felix root /usr/src/linux# find . -name \*.[ch] | xargs grep MOUSE_DYNAMIC_MINOR
./drivers/char/mouse.c: if (mouse->minor == MOUSE_DYNAMIC_MINOR) {
felix root /usr/src/linux#

May be you forgot to include the patch for the include-files?

Gerd


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.033 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site