u-boot-2016/drivers
Simon Glass a1ca92eaaf dm: eth: Avoid blocking on packet reception
Some devices can take a long time to work out whether they have a new packet
or now. For example the ASIX USB Ethernet dongle can take 5 seconds to do
this, since it waits until it gets a new packet on the wire before allowing
the USB bulk read packet to be submitted.

At present with driver mode the Ethernet receive code reads 32 packets. This
can take a very long time if we must wait for all 32 packets. The old code
(before driver model) worked by reading a single set of packets from the USB
device, then processing all the packets with in. It would be nice to use
the same behaviour with driver model.

Add a flag to the receive method which indicates that the driver should try
to find a packet if available, by consulting the hardware. When the flag is
not set, it should just return any packet data it has already received. If
there is none, it should return -EAGAIN so that the loop will terminate.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-07-21 17:39:40 -06:00
..
bios_emulator biosemu: Do not free vga_info->BIOSImage when it is 0xc0000 2015-04-29 18:51:49 -06:00
block drivers: block: Remove the ata_piix driver 2015-07-14 18:03:20 -06:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
clk dm: test: Add tests for the clk uclass 2015-07-21 17:39:30 -06:00
core dm: core: Add \n to two dm_warn() messages 2015-07-21 17:39:38 -06:00
cpu x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
crypto Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2015-03-05 20:50:30 -05:00
ddr driver/ddr/fsl: Add a hook to update SPD address 2015-07-20 11:44:35 -07:00
demo common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
dfu dfu: nand: Verify writes 2015-03-30 23:24:38 -05:00
dma dma: keystone_nav: remove spurious qm_cfg verification 2014-11-06 11:04:39 -05:00
fpga fpga: xilinx: Show fpga info if defined 2015-01-21 10:25:43 +01:00
gpio dm: gpio: Add dm_gpio_request() to manually request a GPIO 2015-07-21 17:39:23 -06:00
hwmon dtt: add ds620 support 2015-04-10 14:23:23 +02:00
i2c exynos: i2c: Correct bug in pinmux selection 2015-07-10 21:13:48 +09:00
input i8042: Add keyboard enable logic in kbd_reset() 2015-04-18 11:11:16 -06:00
led dm: test: Add a test for the LED uclass 2015-07-21 17:39:32 -06:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc dm: test: Add a test for the system controller uclass 2015-07-21 17:39:33 -06:00
mmc dm: test: Add a test for the mmc uclass 2015-07-21 17:39:32 -06:00
mtd mtd: fix false positive "Offset exceeds device limit" error 2015-07-10 09:38:50 -04:00
net dm: eth: Avoid blocking on packet reception 2015-07-21 17:39:40 -06:00
pci dm: pci: Add a function to get the BDF for a device 2015-07-21 17:39:39 -06:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
power power: pmic: Use trailing_strtol() instead of a local function 2015-07-21 17:39:30 -06:00
pwm pwm: imx: Remove unreachable code 2015-05-26 14:13:12 +02:00
qe QE/DeepSleep: add QE deepsleep support for mpc85xx 2015-04-21 10:19:19 -07:00
ram dm: test: Add a test for the ram uclass 2015-07-21 17:39:32 -06:00
rtc dm: rtc: Support mc146818 driver in driver model 2015-07-14 18:03:16 -06:00
serial ns16550: Improve debug UART so it can work with 32-bit access 2015-07-21 17:39:28 -06:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound sandbox: exynos: Move CONFIG_SOUND_SANDBOX to Kconfig 2015-04-18 11:11:39 -06:00
spi dm: spi: Make local functions static 2015-07-21 17:39:27 -06:00
thermal thermal: imx_thermal: increase critical temperature threshold 2015-05-26 14:21:25 +02:00
tpm tpm: Support using driver model with I2C 2015-05-14 18:49:33 -06:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: Update some EHCI driver licenses to use SPDX 2015-07-21 17:39:38 -06:00
video video: vesa_fb: Look up VGA device by class instead of id 2015-07-14 18:03:18 -06:00
watchdog watchdog/imx_watchdog: do not set WCR_WDW 2015-03-25 16:52:16 +01:00
Kconfig dm: Add a clock uclass 2015-07-21 17:39:29 -06:00
Makefile dm: Add a clock uclass 2015-07-21 17:39:29 -06:00