public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Revert "net: asix: Fix AX88772B when used with DriverModel"
@ 2016-09-09 21:12 Marcel Ziswiler
  2016-09-09 21:16 ` Joe Hershberger
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Ziswiler @ 2016-09-09 21:12 UTC (permalink / raw)
  To: 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 at lists.denx.de/msg221455.html

This reverts commit 41d1258aceb45b45f9e68f67a9c40f0afbc09dc9.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

---

 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:
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-09 23:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 21:12 [U-Boot] [PATCH] Revert "net: asix: Fix AX88772B when used with DriverModel" Marcel Ziswiler
2016-09-09 21:16 ` Joe Hershberger
2016-09-09 21:24   ` Marcel Ziswiler
2016-09-09 23:02     ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox