Date: Tue, 13 Jan 2009 19:05:20 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187182 - head/sys/dev/usb2/storage Message-ID: <200901131905.n0DJ5Kq0012916@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thompsa Date: Tue Jan 13 19:05:20 2009 New Revision: 187182 URL: http://svn.freebsd.org/changeset/base/187182 Log: MFp4: //depot/projects/usb@156005 Add missing set frame data pointer call. The function call was missed when zero copy was introduced in UMASS. Reported by: WATANABE Kazuhiro. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb2/storage/umass2.c Modified: head/sys/dev/usb2/storage/umass2.c ============================================================================== --- head/sys/dev/usb2/storage/umass2.c Tue Jan 13 19:05:10 2009 (r187181) +++ head/sys/dev/usb2/storage/umass2.c Tue Jan 13 19:05:20 2009 (r187182) @@ -2414,6 +2414,9 @@ umass_t_cbi_data_read_callback(struct us } xfer->timeout = sc->sc_transfer.data_timeout; + if (xfer->flags.ext_buffer) { + usb2_set_frame_data(xfer, sc->sc_transfer.data_ptr, 0); + } xfer->frlengths[0] = max_bulk; usb2_start_hardware(xfer); return;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901131905.n0DJ5Kq0012916>