Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2002 13:57:51 +0100
From:      Josef Karthauser <joe@tao.org.uk>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/usb usb_port.h
Message-ID:  <20020509125751.GB2482@genius.tao.org.uk>
In-Reply-To: <200205091249.g49CnPR28744@freefall.freebsd.org>
References:  <200205091249.g49CnPR28744@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--rS8CxjVDS/+yyDmU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 09, 2002 at 05:49:25AM -0700, Josef Karthauser wrote:
> joe         2002/05/09 05:49:25 PDT
>=20
>   Modified files:
>     sys/dev/usb          usb_port.h=20
>   Log:
>   MFNetBSD:
>       revision 1.43
>       date: 2001/04/12 01:39:04;  author: thorpej;  state: Exp;  lines: +=
2 -2
>       Switch to USB_USE_SOFTINTR.  The callout hack does indeed work
>       fine for systems without generic soft interrupts, even if it is
>       a little sub-optimal.  Consider it a penalty for ports not
>       implementing a kernel API.
>  =20
>       Addresses kern/11957.  The PR has been open for 4 months, and
>       I have work blocked on the continued existence of splimp() in
>       the networking code.
>  =20
>   The NetBSD patch only switches it on for NetBSD, but I've also
>   switched it on for FreeBSD in this commit.

This appears to fix the device disconnect problem that I reported on
-current last week.  In particular my hub now works, and if I have a
mouse plugged into it that also gets disconnected, and reconnects when I
plug the hub back in.

There are still problems with hid devices like joysticks, etc, where the
kernel will panic because it looks like a device_make is being called
twice.  NetBSD has a new hid framework, which makes mice and keyboards,
etc, subdevices of the hid device.  It's on my list to bring this
framework in.

I tested this on a 2002.04.29.17.00.00 kernel.  A kernel from today
crashes during device probes; I've no idea why.

Joe

--rS8CxjVDS/+yyDmU
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

iEYEARECAAYFAjzack8ACgkQXVIcjOaxUBYxWwCg1ObPQigTtxqv22An4rrqY2mk
2ogAn3exeW7pkYF4QwFItNAC+g6J4EoI
=Cuza
-----END PGP SIGNATURE-----

--rS8CxjVDS/+yyDmU--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020509125751.GB2482>