summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Wilson <[email protected]>2007-10-19 11:33:48 -0500
committerAndrew Fleming-AFLEMING <[email protected]>2007-10-19 11:33:48 -0500
commit5c7ea64bb74a850a2b2303f853a8270695ad8602 (patch)
tree99739f61c1aab739e00ebb4d5e15210a0abbd22a
parent7600d47b8f6a10019e537dc9a62aa1498df58d25 (diff)
tsec driver should clear RHALT on startup
This was causing problems for some people. Signed-off-by: Alain Gravel <[email protected]> Signed-off-by: Dan Wilson <[email protected]> Signed-off-by: Andy Fleming <[email protected]>
-rw-r--r--drivers/tsec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tsec.c b/drivers/tsec.c
index 4ff3339c7de..7ba8f0cace9 100644
--- a/drivers/tsec.c
+++ b/drivers/tsec.c
@@ -803,6 +803,7 @@ static void startup_tsec(struct eth_device *dev)
/* Tell the DMA it is clear to go */
regs->dmactrl |= DMACTRL_INIT_SETTINGS;
regs->tstat = TSTAT_CLEAR_THALT;
+ regs->rstat = RSTAT_CLEAR_RHALT;
regs->dmactrl &= ~(DMACTRL_GRS | DMACTRL_GTS);
}