summaryrefslogtreecommitdiff
path: root/drivers/net/ucc_geth.h
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-12-18 08:23:22 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-12-19 06:48:53 (GMT)
commitb3431c647662a3647f3500a12ec85d65e3622759 (patch)
treedada029b120f9299bef0e93e2c9434c85da4c965 /drivers/net/ucc_geth.h
parent6086ebca13ddc9cfaaa25248ba8ebef35103fb74 (diff)
downloadlinux-fsl-qoriq-b3431c647662a3647f3500a12ec85d65e3622759.tar.xz
ucc_geth: Fix endless loop in stop_{tx,rx} routines
Currently the routines wait for the various bits w/o an assumption that bits may never get set. When timeouts happen I see that these bits never get set and so the routines hang the kernel. With this patch we'll wait the graceful stop for 100 ms, and then will simply exit. There is nothing* we can do about that, but it's OK since we'll do full reset later. * Well, actually, there is also not-graceful variant for the TX stop, but specs says that we never should use it. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ucc_geth.h')
0 files changed, 0 insertions, 0 deletions