lkml.org 
[lkml]   [2001]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
On Fri, 17 Aug 2001, Alan Cox wrote:

> 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

That won't fix the PCI references which seems to get compiled in if
asm/keyboard.h is included. Taking a look at it, hmm. asm-sparc/keyboard.h
seems to be for the Ultra/PCI stuff, oughtn't this be in asm-sparc64, as
sparc32 doesn't use PCI at all, unless there's something I don't know.

--
A pancake! I've photocopied a pancake!

http://www.tahallah.demon.co.uk

-
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.129 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site