Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2007 09:15:13 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 120038 for review
Message-ID:  <200705190915.l4J9FDGj044410@repoman.freebsd.org>

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

Change 120038 by hselasky@hselasky_mini_itx on 2007/05/19 09:14:53

	Add missing flags.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_compat_linux.c#4 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_compat_linux.c#4 (text+ko) ====

@@ -679,6 +679,7 @@
 	    cfg[0].callback = &usb_linux_isoc_callback;
 	    cfg[0].bufsize = 0; /* use wMaxPacketSize */
 	    cfg[0].frames = usb_max_isoc_frames(dev);
+	    cfg[0].flags = (USBD_USE_DMA|USBD_SHORT_XFER_OK);
 
 	    bcopy(cfg + 0, cfg + 1, sizeof(*cfg));
 
@@ -709,6 +710,7 @@
 	    cfg[0].direction = addr & (UE_DIR_OUT|UE_DIR_IN);
 	    cfg[0].callback = &usb_linux_non_isoc_callback;
 	    cfg[0].bufsize = bufsize;
+	    cfg[0].flags = (USBD_USE_DMA|USBD_SHORT_XFER_OK);
 
 	    if (usbd_transfer_setup(dev->bsd_udev, uhe->bsd_iface_index,
 				    uhe->bsd_xfer, cfg, 1, uhe, 



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