lkml.org 
[lkml]   [2001]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
> Dear Gods, not another of Linus's "holiday presents".  These are for th=
> e
> Sparc32 port, I came across one earlier and here's a slightly modified
> patch for drivers/char/vt.c. Original patch came from a l-lk post earli=
> er
> (must have missed it, found a reference to it on sparclinux)

Actually thats one of my presents. The ports are expected to provide
their definition for struct kbd_repeat and a kbd_rate function. If the
facility is not available then it can be defined as NULL

So the sparc asm/keyboard.h if it supports no keyboard rate stuff would be


/*
* Sparc32 lacks the standard keyboard rate ioctls
*/

#define kbd_rate NULL

and it'll error out with -EINVAL

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

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