Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2008 16:13:20 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 134207 for review
Message-ID:  <200801271613.m0RGDKxB003611@repoman.freebsd.org>

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

Change 134207 by hselasky@hselasky_laptop001 on 2008/01/27 16:12:28

	
	Fix for large contiguous segment allocations.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_subr.c#90 edit

Differences ...

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

@@ -2242,7 +2242,8 @@
 	     /* maxsize   */ size,
 	     /* nsegments */ (align == 1) ?
 	    (2 + (size / USB_PAGE_SIZE)) : 1,
-	     /* maxsegsz  */ USB_PAGE_SIZE,
+	     /* maxsegsz  */ (align == 1) ?
+	    USB_PAGE_SIZE : size,
 	     /* flags     */ 0,
 	     /* lock      */ NULL,
 	     /* */ NULL,



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