From owner-cvs-all@FreeBSD.ORG Wed Sep 20 18:56:46 2006 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 38F1216A412; Wed, 20 Sep 2006 18:56:46 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F68543DE1; Wed, 20 Sep 2006 18:56:17 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 9B77C5FA8; Wed, 20 Sep 2006 22:56:16 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 905805CF2; Wed, 20 Sep 2006 22:56:16 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8KIuJ0G028910; Wed, 20 Sep 2006 22:56:19 +0400 (MSD) (envelope-from ru) Date: Wed, 20 Sep 2006 22:56:18 +0400 From: Ruslan Ermilov To: Maksim Yevmenkin Message-ID: <20060920185618.GA28844@rambler-co.ru> References: <20060919215605.GB44298@rambler-co.ru> <20060919221404.GT94944@alchemy.franken.de> <20060920055715.GA81843@rambler-co.ru> <20060920121017.GU94944@alchemy.franken.de> <20060920122830.GB982@rambler-co.ru> <20060920162105.GC9976@rambler-co.ru> <20060920163710.GA28144@rambler-co.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/kbdmux kbdmux.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: Wed, 20 Sep 2006 18:56:46 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 20, 2006 at 09:44:49AM -0700, Maksim Yevmenkin wrote: > On 9/20/06, Ruslan Ermilov wrote: > >On Wed, Sep 20, 2006 at 09:28:46AM -0700, Maksim Yevmenkin wrote: > >> On 9/20/06, Ruslan Ermilov wrote: > >> >Here's another demo that indicates that sparc64 doesn't work > >> >properly. In this case it's a CONS_SETKBD ioctl which is used > >> >by kbdcontrol(8). I "kldload vkbd" and make sure two vkbd > >> >instances exist, /dev/vkbdctl0 and /dev/vkbdctl1. > >> > >> [...] > >> > >> actually, i just tracked this down as part of my work on pr > >> sparc64/96798. there are few problems mentioned in this pr. kbdcontrol > >> -k not working is just one of them. > >> > >> basically, kb_index is wrong, and, in my case, is always 0. which > >> defaults to first keyboard (i.e. subkbd(4)). that is why i can not use > >> kbdcontrol -k to switch between sunkbd(4) and, say, ukbd(4). > >> > >Yes, this is the endianness bug we were talking about. > >Hold on, the fix is almost ready. :-) >=20 > sure, btw i think CONS_SETKBD is easy. nothing seems to calling it > from the kernel, so we could (intptr_t *) cast it and it should just > work. i really want to change it to >=20 > #define CONS_SETKBD _IOW('c', 110, int) >=20 Yes, it would break both binary and source API compatibility. No we cannot do it. > because i officially hate _IO() now :) but i'm not sure if this breaks > binary compatibility. >=20 > me makes a mental note to never ever use _IO() anymore. >=20 I fully share your sentiments. :-) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFEY7SqRfpzJluFF4RAv9hAJ49YHAbEfvXrCazeUw8G+g3iwjVcQCdGWWp ZYivvoa5J+9RK9U4Ag2Vib8= =TG/V -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--