[U-Boot] [PATCH] Revert "net: asix: Fix AX88772B when used with DriverModel"
Marcel Ziswiler
marcel.ziswiler at toradex.com
Fri Sep 9 23:12:47 CEST 2016
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 <marcel.ziswiler at 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
More information about the U-Boot
mailing list