PERFORCE change 134207 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sun Jan 27 08:13:21 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134207
Change 134207 by hselasky at 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,
More information about the p4-projects
mailing list