Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/usb



Module Name:    src
Committed By:   drochner
Date:           Fri Jan 19 22:42:05 UTC 2007

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

Log Message:
In usbd_set_config_index(), remove the code which tries to draw conclusions
from the attempted power state instead of the real one. The configuration
descriptor is a constant thing and doesn't reflect the actual state, so
this doesn't make any sense. The actual state can be read by a device
status read, so use this as the first and only instance and remove
the device specific quirks which were based on wrong assumptions.
(It is possible that one of the 3 devices with quirk entries still
needs some special treatment, but this would need better research. For
now I'd prefer to avoid a quirk database which isn't maintained anyway.)
Btw, don't be confused by messages about self powered hubs which don't
have external power connected. This is legal, see the specs.


To generate a diff of this commit:
cvs rdiff -r1.54 -r1.55 src/sys/dev/usb/usb_quirks.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/usb/usb_quirks.h
cvs rdiff -r1.140 -r1.141 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.




Home | Main Index | Thread Index | Old Index