From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRHLh-0000ng-Vw for qemu-devel@nongnu.org; Thu, 25 Oct 2012 02:55:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRHLh-0007yF-0t for qemu-devel@nongnu.org; Thu, 25 Oct 2012 02:55:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRHLg-0007xW-ON for qemu-devel@nongnu.org; Thu, 25 Oct 2012 02:55:24 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9P6tNNn012453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 25 Oct 2012 02:55:23 -0400 Message-ID: <5088E259.1080206@redhat.com> Date: Thu, 25 Oct 2012 08:55:21 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1351095258-5579-1-git-send-email-hdegoede@redhat.com> <1351095258-5579-16-git-send-email-hdegoede@redhat.com> In-Reply-To: <1351095258-5579-16-git-send-email-hdegoede@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 15/22] usb: Add packet combining functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hans de Goede Cc: qemu-devel@nongnu.org On 10/24/12 18:14, Hans de Goede wrote: > + /* > + * Process / cancel combined packets, called from > + * usb_ep_combine_input_packets() / usb_combined_packet_cancel(). > + * Only called for devices which call these functions themselves. > + */ > + int (*handle_combined_data)(USBDevice *dev, USBPacket *p); > + void (*cancel_combined_packet)(USBDevice *dev, USBPacket *p); I still think these should get a USBCombinedPacket not a USBPacket. cheers, Gerd