Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2001 12:12:51 +0000 (GMT)
From:      Doug Rabson <dfr@qubesoft.com>
To:        Nick Hibma <n_hibma@qubesoft.com>
Cc:        Jon Simola <jon@abccom.bc.ca>, FreeBSD Hackers Mailing List <hackers@FreeBSD.ORG>
Subject:   Re: Broken-by-design USB device?
Message-ID:  <Pine.BSF.4.21.0101081211580.23861-100000@doug02.qubesoft.com>
In-Reply-To: <Pine.BSF.4.20.0101071347190.17540-200000@henny.webweaving.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Jan 2001, Nick Hibma wrote:

> 
> There is, I think, at least a bug in subr_bus.c that might cause this,
> although, this is just a hunch. I've not been able to explain what's
> happening yet.
> 
> What is happening is that device_probe_child sets the device class, and
> in case of an error unsets it. But in this case attach (instead of
> probe) returns an error and hence the devclass _should_ be unset for
> that device (it didn't have a devclass to start with) to force it back
> to its virgin state, but isn't.
> 
> If you could review his patch dfr, that would be appreciated.
> 
> This is an issue in current as well.

The patch looks good to me.

--
Doug Rabson				Mail:  dfr@qubesoft.com
Technical Director, Qube Software Ltd.	Phone: +44 20 7431 9995



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101081211580.23861-100000>