From patchwork Thu Aug 1 23:27:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 264160 X-Patchwork-Delegate: marek.vasut@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 67A342C0090 for ; Fri, 2 Aug 2013 09:30:56 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D4D244A177; Fri, 2 Aug 2013 01:30:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kXsNRJIdn9YV; Fri, 2 Aug 2013 01:30:21 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 594A54A107; Fri, 2 Aug 2013 01:28:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AFDBF4A0ED for ; Fri, 2 Aug 2013 01:28:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aO3ra3v6EmgJ for ; Fri, 2 Aug 2013 01:28:25 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by theia.denx.de (Postfix) with ESMTPS id 3C6484A088 for ; Fri, 2 Aug 2013 01:27:52 +0200 (CEST) Received: by mail-pb0-f47.google.com with SMTP id rr4so1404240pbb.34 for ; Thu, 01 Aug 2013 16:27:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=s3b28ZineUIagJM14w2ZfIhs9tzAbak5muL9yt46o2g=; b=mpXGy7vPCYHUVXJobcS5LUA2rBefrVCvO9dRPUdjOBFZ6dF9ZyFafNAI2gz4cTAk+9 PThSaRpbGwvRP/5dc77jfV/fvY9AQZR3KQxKgeKXi8kRM2CR2GZPU+97KIqkunMSqr6F 8I+FJKqeOTSV7lFa14a8sMCXwu/EUDR4KiKkl6FkyX8nyTDCaw6j0CDJVY7RGtUyzYQI szIwGqsP55NSmqfNLBk3YQvnft81YIjKKBgxV+pZAqmzaXQNMSIEsWWE+7hlxR6Vqwpi waxUYrAzYywXEGY5s2j/yrY1utvVQmZ49rSc3ag93Zon237S+yUnFTbXyfoHdwAfACm6 lHBg== X-Received: by 10.68.36.132 with SMTP id q4mr4526066pbj.118.1375399670186; Thu, 01 Aug 2013 16:27:50 -0700 (PDT) Received: from officeserver-2 ([70.96.116.236]) by mx.google.com with ESMTPSA id sz6sm5299494pab.5.2013.08.01.16.27.46 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 01 Aug 2013 16:27:48 -0700 (PDT) Received: from tkisky by officeserver-2 with local (Exim 4.80) (envelope-from ) id 1V52HX-0006h4-4o; Thu, 01 Aug 2013 16:27:43 -0700 From: Troy Kisky To: marek.vasut@gmail.com Date: Thu, 1 Aug 2013 16:27:26 -0700 Message-Id: <1375399657-25642-10-git-send-email-troy.kisky@boundarydevices.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1375399657-25642-1-git-send-email-troy.kisky@boundarydevices.com> References: <1375399657-25642-1-git-send-email-troy.kisky@boundarydevices.com> X-Gm-Message-State: ALoCoQmaK1ndcFXhoLse/su4O1FH3tqhg403DgszrFVNE3EBA/DswGAVqXLMqAG5hnzKlemTiq74 Cc: fabio.estevam@freescale.com, otavio@ossystems.com.br, leiwen@marvell.com, u-boot@lists.denx.de Subject: [U-Boot] [PATCH V3 09/20] usb: gadget: ether set wMaxPacketSize X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de set wMaxPacketSize for full speed descriptors Signed-off-by: Troy Kisky --- drivers/usb/gadget/ether.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 579893c..f583c6e 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -635,6 +635,7 @@ fs_source_desc = { .bEndpointAddress = USB_DIR_IN, .bmAttributes = USB_ENDPOINT_XFER_BULK, + .wMaxPacketSize = __constant_cpu_to_le16(64), }; static struct usb_endpoint_descriptor @@ -644,6 +645,7 @@ fs_sink_desc = { .bEndpointAddress = USB_DIR_OUT, .bmAttributes = USB_ENDPOINT_XFER_BULK, + .wMaxPacketSize = __constant_cpu_to_le16(64), }; static const struct usb_descriptor_header *fs_eth_function[11] = {