aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ipg.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2008-01-10 17:45:05 -0500
committerFrancois Romieu <romieu@fr.zoreil.com>2008-01-17 17:35:09 -0500
commitdafdec746f8c468bebf6b99f32a392ee6c8d0212 (patch)
tree4a9ee26da400f09aa1c3ef429e4498af03278784 /drivers/net/ipg.c
parent0da1b995aee447656c0eb77e4e32468e37f868a3 (diff)
ipg: fix queue stop condition in the xmit handler
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/ipg.c')
-rw-r--r--drivers/net/ipg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c
index 9752902f2d9a..b234b293c11f 100644
--- a/drivers/net/ipg.c
+++ b/drivers/net/ipg.c
@@ -1994,7 +1994,7 @@ static int ipg_nic_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
1994 ipg_w32(IPG_DC_TX_DMA_POLL_NOW, DMA_CTRL); 1994 ipg_w32(IPG_DC_TX_DMA_POLL_NOW, DMA_CTRL);
1995 1995
1996 if (sp->tx_current == (sp->tx_dirty + IPG_TFDLIST_LENGTH)) 1996 if (sp->tx_current == (sp->tx_dirty + IPG_TFDLIST_LENGTH))
1997 netif_wake_queue(dev); 1997 netif_stop_queue(dev);
1998 1998
1999 spin_unlock_irqrestore(&sp->lock, flags); 1999 spin_unlock_irqrestore(&sp->lock, flags);
2000 2000