u-boot-brain/drivers
Stephen Warren 9a04a858eb net: asix: don't pad odd-length TX packets
For Ethernet/USB RX packets, the ASIX HW pads odd-sized packets so that
they have an even size. Currently, asix_recv() does remove this padding,
and asic_send() adds equivalent padding in the TX path. However, the HW
does not appear to need this packing for TX packets in practical testing
with "ASIX Elec. Corp. AX88x72A 000001" Vendor: 0x0b95 Product 0x7720
Version 0.1. The Linux kernel does no such padding for the TX path.

Remove the padding from the TX path:

* For consistency with the Linux kernel.
* NVIDIA has a Tegra simulator which validates that the length of USB
  packets sent to an ASIX device matches the packet length value inside
  the packet data. Having U-Boot and the kernel do the same thing when
  creating the TX packets simplifies the simulator's validation.

Cc: Lucas Stach <dev@lynxeye.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
Tested-by: Marek Vasut <marex@denx.de>
Tested-by: Gerhard Sittig <gsi@denx.de>
2014-03-07 10:59:06 -05:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block blackfin: Add <asm/clock.h> to numerous drivers 2014-02-20 12:00:27 -05:00
bootcount i2c, bootcount: add support for bootcounter on i2c devices 2014-02-20 06:46:56 +01:00
core dm: Add base driver model support 2014-03-04 12:15:29 -05:00
crypto drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
ddr/fsl driver/ddr: Add 256 byte interleaving support 2014-02-21 11:06:13 -05:00
demo dm: Add a demonstration/example driver 2014-03-04 12:15:29 -05:00
dfu dfu: mmc: fs: Fix format accepted by ext4write command 2014-02-20 12:00:27 -05:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
gpio sandbox: Convert GPIOs to use driver model 2014-03-04 12:15:30 -05:00
hwmon kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
i2c Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-02-26 16:49:58 -05:00
input drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
misc Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2014-01-06 08:49:58 +01:00
mmc mmc: zynq: Add OF initialization support 2014-03-04 09:27:35 -05:00
mtd mtd: nand: omap: move omap_elm.h from arch/arm/include/asm to drivers/mtd/nand 2014-03-04 17:23:54 -06:00
net net: gem: Add OF initialization support 2014-03-04 09:27:35 -05:00
pci sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
pcmcia drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
power power: fix: Do not execute pmic command when not all necessary parameters are passed 2014-02-24 10:56:33 -05:00
qe drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00
rtc kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
serial serial: zynq: Add OF initialization support 2014-03-04 09:27:36 -05:00
sound drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
spi Merge branch 'master' of git://git.denx.de/u-boot-spi 2014-02-21 08:00:22 -05:00
tpm sandbox: tpm: Fix nvwrite command 2014-01-08 17:26:17 -07:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb net: asix: don't pad odd-length TX packets 2014-03-07 10:59:06 -05:00
video video: exynos: fimd: add support for various display color modes 2014-02-03 15:36:14 +09:00
watchdog Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
Makefile drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00