PERFORCE change 112324 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sat Dec 30 10:29:42 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=112324
Change 112324 by hselasky at hselasky_mini_itx on 2006/12/30 18:29:23
Patch to get slow devices working in USB 2.0 mode.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/umass.c#8 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/umass.c#8 (text+ko) ====
@@ -1263,6 +1263,12 @@
sc->cam_scsi_sense.opcode = REQUEST_SENSE;
sc->cam_scsi_test_unit_ready.opcode = TEST_UNIT_READY;
+ /* some devices need a delay after that the
+ * configuration value is set to
+ * function properly:
+ */
+ usbd_delay_ms(uaa->device, 1000);
+
/* register the SIM */
err = umass_cam_attach_sim(sc);
if (err) {
More information about the p4-projects
mailing list