]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
driver/ldpaa_eth: Add timeout handling DQRR entry read
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Thu, 2 Jul 2015 05:59:06 +0000 (11:29 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:34:23 +0000 (13:34 +0200)
commit21a879d0898b8161c39f355c367dc7f529fe66a4
tree966a043ab3ae72f2259206baa7db356b1aca1a71
parent04e34b5ee9476e6d01def909a17bfe3dfa33bb7c
driver/ldpaa_eth: Add timeout handling DQRR entry read

Volatile command does not return frame immidiately, need to wait till a frame
is available in DQRR. Ideally it should be a blocking call.

Add timeout handling for DQRR frame instead of retry counter.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/ldpaa_eth/ldpaa_eth.c