summaryrefslogtreecommitdiff
path: root/cleopatre/linux-2.6.25.10-spc300/drivers
diff options
context:
space:
mode:
authorBelkadi & Save2011-07-06 14:48:51 +0200
committerYacine Belkadi2011-08-12 17:31:23 +0200
commite63c03c87cdf3a12bf869fab5fabe8496262d970 (patch)
treec19c8952a4a883c338759e644c7193c1acf540db /cleopatre/linux-2.6.25.10-spc300/drivers
parentca97a0289c629072a9951f26b484e015d6054368 (diff)
cleo/linux/drv/eth: flow control: change Rx FIFO fill-level thresholds, refs #2487
Set (Rx FIFO fill-level reaches (full - 2K)) as the threshold for activating the flow control. Set (Rx FIFO fill-level returns to (full - 2K)) as the threshold for deactivating the flow control.
Diffstat (limited to 'cleopatre/linux-2.6.25.10-spc300/drivers')
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_hw.c b/cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_hw.c
index c75579e08e..8402c0f95b 100644
--- a/cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_hw.c
+++ b/cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_hw.c
@@ -179,7 +179,7 @@ void SynopsysInit(Synopsys *synop, uint32_t txaddr, uint32_t rxaddr)
SynopsysWriteDmaReg(synop, DmaBusMode, DmaSeparatePBLEnable | DmaRxBurstLength32 |
DmaFixedBurstEnable | DmaBurstLength32 | DmaResetOff);
SynopsysWriteDmaReg(synop, DmaControl, DmaStoreAndForwardTx | DmaRxThreshCtrl32 | DmaEnHwFlowCtrl |
- DmaRxFlowCtrlAct3K | DmaRxFlowCtrlDeact1K | DmaTxSecondFrame
+ DmaRxFlowCtrlAct2K | DmaRxFlowCtrlDeact2K | DmaTxSecondFrame
| DmaDisableFlushRxFifo);
SynopsysWriteDmaReg(synop, DmaInterrupt, 0); //All DMA Interrupts disabled
SynopsysWriteDmaReg(synop, DmaTxBaseAddr, txaddr);