aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/skge.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index 3990829d3c46..38fc66a1e14c 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -1780,7 +1780,12 @@ static void yukon_mac_init(struct skge_hw *hw, int port)
1780 reg &= ~GMF_RX_F_FL_ON; 1780 reg &= ~GMF_RX_F_FL_ON;
1781 skge_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_RST_CLR); 1781 skge_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_RST_CLR);
1782 skge_write16(hw, SK_REG(port, RX_GMF_CTRL_T), reg); 1782 skge_write16(hw, SK_REG(port, RX_GMF_CTRL_T), reg);
1783 skge_write16(hw, SK_REG(port, RX_GMF_FL_THR), RX_GMF_FL_THR_DEF); 1783 /*
1784 * because Pause Packet Truncation in GMAC is not working
1785 * we have to increase the Flush Threshold to 64 bytes
1786 * in order to flush pause packets in Rx FIFO on Yukon-1
1787 */
1788 skge_write16(hw, SK_REG(port, RX_GMF_FL_THR), RX_GMF_FL_THR_DEF+1);
1784 1789
1785 /* Configure Tx MAC FIFO */ 1790 /* Configure Tx MAC FIFO */
1786 skge_write8(hw, SK_REG(port, TX_GMF_CTRL_T), GMF_RST_CLR); 1791 skge_write8(hw, SK_REG(port, TX_GMF_CTRL_T), GMF_RST_CLR);