From patchwork Fri Sep 9 21:12:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 668265 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 3sW90Z2hqGz9rxv for ; Sat, 10 Sep 2016 07:13:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D76704B811; Fri, 9 Sep 2016 23:13:15 +0200 (CEST) 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 EfKbFrQ1Inex; Fri, 9 Sep 2016 23:13:15 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5C97B4B698; Fri, 9 Sep 2016 23:13:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9ECEF4B698 for ; Fri, 9 Sep 2016 23:13:12 +0200 (CEST) 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 NZyfWNZbXEXs for ; Fri, 9 Sep 2016 23:13:12 +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 mout.perfora.net (mout.perfora.net [74.208.4.197]) by theia.denx.de (Postfix) with ESMTPS id 075454B660 for ; Fri, 9 Sep 2016 23:13:08 +0200 (CEST) Received: from marcel-pc.toradex.int.net ([84.227.37.153]) by mrelay.perfora.net (mreueus001) with ESMTPA (Nemesis) id 0MZF1O-1bUF4X3cuy-00L1rG; Fri, 09 Sep 2016 23:12:58 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Date: Fri, 9 Sep 2016 23:12:47 +0200 Message-Id: <1473455567-6304-1-git-send-email-marcel.ziswiler@toradex.com> X-Mailer: git-send-email 2.5.5 X-Provags-ID: V03:K0:w/poSWJtaPBo1JP0gc0wmLcQi88bxmL0YZ55Po+fKt4pmtZ0KRF /rc5WWKJnBZ5336Otf3UrOVkcvHuAsxRPXXqvLuICHo+XeKiX5BRy76y5XcAp3MDxJ+7e0u 6YBaOPf/Jco85SgYYDIF+GNARZcjpIau6ObQHLvHx7/0Y55kThX0srZjVKNdhOm1/4kpSCU pp/qixwFD1FcHtl/tcTVA== X-UI-Out-Filterresults: notjunk:1; V01:K0:kCDMHKdtumk=:oCct5TQEqEmVuFsjnEgWMI RIfUXiBmbE8PrcQUiNb9+YFUT8zVN2TMMmD+rCk8YVJBTwVf+bjb0azZu37KQWOdpvsVkpita 6V94ecoaPtNa2sRtx5Jyny2imnFl0GUpwPvN8V1BI4G9AqHPKRgtxIgN2A7AaTi5t5rdzm9EE HelIhzraEnAHbwkLWr5Y12vJDYPM76JJ1DTcncRWYpYhRmuti9U4Cn7Uuzl9HMFGS7qywas3I OL5cUZ3ZBHiFq5BvRGKuxIDEXuTs2vOLmDy5LPtr5eJZPrfPn/HYoGrzAwj3D0PEbXNY/EkVl KbVaOvqhraSvC9gtnv78K1Ra09/MSfdGDstNSN1X/hT2gxhGsGGMWTbz8NCjwWmBU8lpxcu8R +/iIJgJprGSfxlPoOmPsB56tpq9vBIAh4QtzwkVE166pbouUShD5tHiv1zYUNn0fj1FeHAljF X9d07Rr6ZD2XiijtqXvjOi2WYiKP6yjf1WE/ii1HlIejq/XfBA/iX50vUNZNmKDVp/GM03gfm VFdJ40syVcYhh20hdD4M8V6p3BHfgKuNQY3wheDs2vO6fQH6iFvMAm22M0+IL/UkJv+xi6dIb 2yYYPwTl2Cwnuvcxm3Km6PvDb0PzUQKwhjF2WKFmoeMkrW4gaoKPbQPJcnlQGFYtEDuilpX3a xt6slCp3rnynb3NNnFbXRmh4J6tARnCKB27837nhyOrBx6QXmjyoEIKlAEYboAu5Jf/0= Cc: Marek Vasut , Marcel Ziswiler , Joe Hershberger , Alban Bedel Subject: [U-Boot] [PATCH] Revert "net: asix: Fix AX88772B when used with DriverModel" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" As discussed before rather than Joshua's patch the one from Alban should long since have been applied: https://www.mail-archive.com/u-boot@lists.denx.de/msg221455.html This reverts commit 41d1258aceb45b45f9e68f67a9c40f0afbc09dc9. Signed-off-by: Marcel Ziswiler --- drivers/usb/eth/asix.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index a610ae4..ad083cf 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth/asix.c @@ -819,11 +819,6 @@ int asix_eth_recv(struct udevice *dev, int flags, uchar **packetp) } *packetp = ptr + sizeof(packet_len); - - if ((ueth->pusb_dev->descriptor.idVendor == ASIX_USB_VENDOR_ID) && - (ueth->pusb_dev->descriptor.idProduct == AX88772B_USB_PRODUCT_ID)) - *packetp += 2; - return packet_len; err: