From owner-cvs-all Sun Jan 27 17: 9:38 2002 Delivered-To: cvs-all@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 86CE937B417; Sun, 27 Jan 2002 17:09:30 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id C654287; Mon, 28 Jan 2002 01:09:29 +0000 (GMT) Date: Mon, 28 Jan 2002 01:09:29 +0000 From: Josef Karthauser To: Alfred Perlstein Cc: Josef Karthauser , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/usb usb.c Message-ID: <20020128010929.A2921@genius.tao.org.uk> References: <200201261240.g0QCe3G07014@freefall.freebsd.org> <20020127170452.M13686@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020127170452.M13686@elvis.mu.org>; from bright@mu.org on Sun, Jan 27, 2002 at 05:04:52PM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 27, 2002 at 05:04:52PM -0800, Alfred Perlstein wrote: > > usb.c: revision 1.41 > > =20 > > revision 1.41 > > date: 2000/03/16 00:46:38; author: augustss; lines: +2 -2 > > Make the USB event queue longer. Mine overflows before the > > (user-land) event handler has started. But then I have > > about 25 devices connected. :) > > =20 > > Revision Changes Path > > 1.49 +1 -1 src/sys/dev/usb/usb.c >=20 > How many events can be pending and what sort of information can they > contain? It might make sense to look at having the device provide the > buffer needed via jnesting it in the softc. They're just control messages that can be read via /dev/usbX. The usbd uses them. The constant that was changed only affects the maximum length of a queue. There's no extra storage used unless we really have that many events queuing, if that's your worry. Joe --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxUpMkACgkQXVIcjOaxUBZUggCgmOCh9x8FBDfhYpBe3FL8LYuV Y2UAoMhFNi/5MC1bHj+rCcVnwijHh371 =XCgw -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message