macb: Handle Retry Limit Exceeded errors
authorErik Waling <erik.waling@konftel.se>
Wed, 15 Apr 2009 23:32:10 +0000 (23:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Apr 2009 08:30:33 +0000 (01:30 -0700)
commitee33c58541bae92669fe64a39f695ab533d0de14
tree851d392d9a9517e0e0bcc545c76d4729e4391d3b
parent2f3889f42ec7c2b0c3049ecdd8e4687b6930779a
macb: Handle Retry Limit Exceeded errors

When transfering large amounts of data we sometimes experienced that the
Retry Limit Exceeded (RLE) bit got set in TSR during transmission
attempts. When this happened the driver would stall in a state that
prevented any more data from being sent.

Signed-off-by: Erik Waling <erik.waling@konftel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macb.c