cvs commit: src/sys/dev/kbdmux kbdmux.c

Marius Strobl marius at alchemy.franken.de
Tue Sep 19 15:14:21 PDT 2006


On Wed, Sep 20, 2006 at 01:56:05AM +0400, Ruslan Ermilov wrote:
> 
> The proper fix would be to fix the kernel to pass an argument by
> value, like the userland does.  But from the practical point of
> view, it may make sense to change the API and say that these
> IOCTLs now take a pointer type argument.  I'm not sure.  If you
> know of any applications (mine test util not counting :-) that
> use KDSKBMODE/KDSETLED/KDSKBSTATE, then we should probably fix
> the kernel callers.

XFree86/Xorg use KDSKBMODE and KDSETLED, see f.e. the Xorg
"kbd" driver:
http://webcvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/os-support/bsd/bsd_kbd.c?revision=1.8&view=markup

Marius



More information about the cvs-src mailing list