Date: Thu, 29 Mar 2007 07:15:07 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 116815 for review Message-ID: <200703290715.l2T7F7r3038874@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=116815 Change 116815 by hselasky@hselasky_mini_itx on 2007/03/29 07:14:37 Make UMASS more in line with the BBB specification. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/umass.c#11 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/umass.c#11 (text+ko) ==== @@ -1718,6 +1718,13 @@ tr_transferred: + /* Do a full reset if there is something + * wrong with the CSW: + */ + sc->sc_status_try = 1; + + /* Zero missing parts of the CSW: */ + if (xfer->actlen < sizeof(sc->csw)) { bzero(&(sc->csw), sizeof(sc->csw)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703290715.l2T7F7r3038874>