summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYacine Belkadi2011-06-08 12:05:26 +0200
committerYacine Belkadi2011-08-12 17:31:22 +0200
commit5a45057f8c712913de5134177672e70ad4a8c659 (patch)
tree5532fae552108e746f709963c45edac9c68359b7
parented367a2d92b9fa64bea9a812af31f9fdf1ce4a8e (diff)
cleo/linux/drv/eth: fix flow control activation thresholds, refs #2487
Correct the DmaRxFlowCtrlAct* flags used to specifiy the Rx FIFO fill-level threshold that triggers the sending of pause frames.
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_reg.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_reg.h b/cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_reg.h
index d4bb3f5e63..198579d9c2 100644
--- a/cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_reg.h
+++ b/cleopatre/linux-2.6.25.10-spc300/drivers/net/arm/synop3504_reg.h
@@ -419,11 +419,11 @@ enum DmaControlReg
DmaRxFlowCtrlDeact3K = 0x00001000, //Rx flow control deact. threhold (3kbytes)
DmaRxFlowCtrlDeact4K = 0x00001800, //Rx flow control deact. threhold (4kbytes)
- DmaRxFlowCtrlAct = 0x00001800, //Rx flow control Act.
- DmaRxFlowCtrlAct1K = 0x00000000, //Rx flow control Act.
- DmaRxFlowCtrlAct2K = 0x00000800, //Rx flow control Act.
- DmaRxFlowCtrlAct3K = 0x00001000, //Rx flow control Act.
- DmaRxFlowCtrlAct4K = 0x00001800, //Rx flow control Act.
+ DmaRxFlowCtrlAct = 0x00000600, //Rx flow control Act. threshold
+ DmaRxFlowCtrlAct1K = 0x00000000, //Rx flow control Act. threshold (full - 1KB)
+ DmaRxFlowCtrlAct2K = 0x00000200, //Rx flow control Act. threshold (full - 2KB)
+ DmaRxFlowCtrlAct3K = 0x00000400, //Rx flow control Act. threshold (full - 3KB)
+ DmaRxFlowCtrlAct4K = 0x00000600, //Rx flow control Act. threshold (full - 4KB)
DmaEnHwFlowCtrl = 0x00000100, //Enable HW flow control
DmaDisHwFlowCtrl = 0x00000000, //Disable HW flow control