From owner-cvs-all@FreeBSD.ORG Thu Jul 14 22:43:20 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC68516A41C; Thu, 14 Jul 2005 22:43:20 +0000 (GMT) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7536F43D48; Thu, 14 Jul 2005 22:43:20 +0000 (GMT) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6EMhK9r035325; Thu, 14 Jul 2005 22:43:20 GMT (envelope-from emax@repoman.freebsd.org) Received: (from emax@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6EMhKcN035324; Thu, 14 Jul 2005 22:43:20 GMT (envelope-from emax) Message-Id: <200507142243.j6EMhKcN035324@repoman.freebsd.org> From: Maksim Yevmenkin Date: Thu, 14 Jul 2005 22:43:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/kbdmux kbdmux.c src/sys/sys kbio.h src/usr.sbin/kbdcontrol kbdcontrol.1 kbdcontrol.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 22:43:20 -0000 emax 2005-07-14 22:43:20 UTC FreeBSD src repository Modified files: sys/dev/kbdmux kbdmux.c sys/sys kbio.h usr.sbin/kbdcontrol kbdcontrol.1 kbdcontrol.c Log: kbdmux(4) keyboard multiplexer integration o Slightly change KBADDKBD and KBRELKBD ioctl() interface. Instead of passing keyboard index pass keyboard_info_t structure with populated 'kb_unit' and 'kb_name' fields. Keyboard index is not very user-friendly and is not very easy to obtain. Keyboard driver name and unit, on the other hand, is much more user friendly and known almost all the time; o Move definition of keyboard_info_t structure up; o Teach kbdcontrol(1) how to attach/detach keyboards to/from the keyboard multiplexor; o Update kbdcontrol(1) man page and document new functionality. To attach/detach keyboard to/from keyboard multiplexor one needs to use keyboard device name (i.e. ukbd0). MFC after: 1 week Revision Changes Path 1.2 +24 -19 src/sys/dev/kbdmux/kbdmux.c 1.9 +11 -10 src/sys/sys/kbio.h 1.37 +22 -0 src/usr.sbin/kbdcontrol/kbdcontrol.1 1.49 +70 -2 src/usr.sbin/kbdcontrol/kbdcontrol.c