From owner-p4-projects@FreeBSD.ORG Tue Jun 23 14:01:33 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C30031065673; Tue, 23 Jun 2009 14:01:32 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82A07106564A for ; Tue, 23 Jun 2009 14:01:32 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 70CD68FC15 for ; Tue, 23 Jun 2009 14:01:32 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5NE1WAU008715 for ; Tue, 23 Jun 2009 14:01:32 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5NE1WH2008713 for perforce@freebsd.org; Tue, 23 Jun 2009 14:01:32 GMT (envelope-from hselasky@FreeBSD.org) Date: Tue, 23 Jun 2009 14:01:32 GMT Message-Id: <200906231401.n5NE1WH2008713@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Cc: Subject: PERFORCE change 164964 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 14:01:33 -0000 http://perforce.freebsd.org/chv.cgi?CH=164964 Change 164964 by hselasky@hselasky_laptop001 on 2009/06/23 14:00:48 USB CORE: Add new flag: - USB_MULTI_SHORT_OK Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#157 edit .. //depot/projects/usb/src/sys/dev/usb/usbdi.h#8 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#157 (text+ko) ==== @@ -2974,6 +2974,9 @@ case USB_SHORT_XFER_OK: xfer->flags.short_xfer_ok = 1; break; + case USB_MULTI_SHORT_OK: + xfer->flags.short_frames_ok = 1; + break; } } @@ -2987,5 +2990,8 @@ case USB_SHORT_XFER_OK: xfer->flags.short_xfer_ok = 0; break; + case USB_MULTI_SHORT_OK: + xfer->flags.short_frames_ok = 0; + break; } } ==== //depot/projects/usb/src/sys/dev/usb/usbdi.h#8 (text+ko) ==== @@ -78,6 +78,7 @@ #define USB_SHORT_XFER_OK 0x0004 /* allow short reads */ #define USB_DELAY_STATUS_STAGE 0x0010 /* insert delay before STATUS stage */ #define USB_USER_DATA_PTR 0x0020 /* internal flag */ +#define USB_MULTI_SHORT_OK 0x0040 /* allow multiple short frames */ #define USB_NO_TIMEOUT 0 #define USB_DEFAULT_TIMEOUT 5000 /* 5000 ms = 5 seconds */