From owner-cvs-all@FreeBSD.ORG Tue Nov 28 22:27:04 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E24716A40F; Tue, 28 Nov 2006 22:27:04 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from ns2.pil.dk (ns2.pil.dk [195.41.47.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 186F043CC5; Tue, 28 Nov 2006 22:26:44 +0000 (GMT) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by ns2.pil.dk (Postfix) with ESMTP id 070BD7BB8ED; Tue, 28 Nov 2006 23:26:42 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 946FAB9D7; Tue, 28 Nov 2006 23:26:41 +0100 (CET) Date: Tue, 28 Nov 2006 23:26:41 +0100 From: Henrik Brix Andersen To: Ruslan Ermilov Message-ID: <20061128222641.GA73497@tirith.brixandersen.dk> Mail-Followup-To: Ruslan Ermilov , Florent Thoumie , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200611282113.kASLD8vu090754@repoman.freebsd.org> <20061128220111.GA71168@tirith.brixandersen.dk> <20061128220529.GA38107@rambler-co.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <20061128220529.GA38107@rambler-co.ru> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Florent Thoumie Subject: Re: cvs commit: src/sys/dev/usb ukbd.c usb_quirks.c usb_quirks.h usbdevs 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: Tue, 28 Nov 2006 22:27:04 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 29, 2006 at 01:05:29AM +0300, Ruslan Ermilov wrote: > On Tue, Nov 28, 2006 at 11:01:11PM +0100, Henrik Brix Andersen wrote: > > On Tue, Nov 28, 2006 at 09:13:08PM +0000, Florent Thoumie wrote: > > > flz 2006-11-28 21:13:08 UTC > > >=20 > > > FreeBSD src repository > > >=20 > > > Modified files: > > > sys/dev/usb ukbd.c usb_quirks.c usb_quirks.h usbdevs=20 > > > Log: > > > Add a quirk for devices recognized as usb keyboards not to be hooke= d by > > > ukbd(4). > > > =20 > > > PR: usb/105669 > > > Submitted by: Henrik Brix Andersen > > > MFC after: 1 week > >=20 > > Thank you for reviewing and committing this patch, much appreciated :) > >=20 > > Could you please bump __FreeBSD_version in sys/param.h as well as > > noted in the PR? This will allow checking for proper kernel support in > > my upcoming net-mgmt/wispy-tools port. > >=20 > Why can't you just check for the defined constant? To clarify: it is a run-time issue, not a compile-time issue. The application will compile fine regardless of the above patch, but without the above patch (and with ukbd/uhid loaded) the application will fail to attach to the device. How should I go about checking for the defined constant from the port? Regards, Brix --=20 Henrik Brix Andersen --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: GnuPG signed iD8DBQFFbLehv+Q4flTiePgRAtuCAKC+LS5aBcO1UGoAM8UCu0xqvWHnEACeJjvW f9avgJZoYfPT1RhTOuBb/Cw= =RuUc -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--