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:           Thu Jul 31 22:01:15 UTC 2008

Modified Files:
        src/sys/dev/usb: files.usb ubsavar.h

Log Message:
-ubsa needs to be attached as whole device on USB, because it sets
 the configuration. The match/attach code was assuming whole-device
 attach args all the time.
-Use the first (ie index 0) configuration for ubsa -- it makes the
 code work in at least one case (PR kern/39211 by Frank Wille), and
 there is no indication that an alternative configuration would
 be needed. (I've admittedly never seen a usb device with more than
 one configuration.)
This fixes mistakes when uhmodem support was added, and the changes were
not tested with a Huawei device yet. So please test if you can.


To generate a diff of this commit:
cvs rdiff -r1.84 -r1.85 src/sys/dev/usb/files.usb
cvs rdiff -r1.5 -r1.6 src/sys/dev/usb/ubsavar.h

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