Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 18:29:41 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 112324 for review
Message-ID:  <200612301829.kBUITfhx011790@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112324

Change 112324 by hselasky@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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612301829.kBUITfhx011790>