Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 01/24/2007 12:36:56
Module Name:	src
Committed By:	drochner
Date:		Wed Jan 24 12:36:56 UTC 2007

Modified Files:
	src/sys/dev/usb: usb_subr.c

Log Message:
There are devices which don't report the "self powered" state correctly
in the device status word (at least Palmpilot; comments in Linux
indicate that there are more).
So don't use this information, just use the bit in the configuration
descriptor we are attempting to set. (It is of little use anyway,
perhaps the code can be simplified further.)
Thanks to Steven M. Bellovin for running some tests with a Palmpilot.


To generate a diff of this commit:
cvs rdiff -r1.141 -r1.142 src/sys/dev/usb/usb_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.