diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ipg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c index b234b293c11..50f0c17451b 100644 --- a/drivers/net/ipg.c +++ b/drivers/net/ipg.c | |||
@@ -1934,10 +1934,7 @@ static int ipg_nic_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1934 | */ | 1934 | */ |
1935 | if (sp->tenmbpsmode) | 1935 | if (sp->tenmbpsmode) |
1936 | txfd->tfc |= cpu_to_le64(IPG_TFC_TXINDICATE); | 1936 | txfd->tfc |= cpu_to_le64(IPG_TFC_TXINDICATE); |
1937 | else if (!((sp->tx_current - sp->tx_dirty + 1) > | 1937 | txfd->tfc |= cpu_to_le64(IPG_TFC_TXDMAINDICATE); |
1938 | IPG_FRAMESBETWEENTXDMACOMPLETES)) { | ||
1939 | txfd->tfc |= cpu_to_le64(IPG_TFC_TXDMAINDICATE); | ||
1940 | } | ||
1941 | /* Based on compilation option, determine if FCS is to be | 1938 | /* Based on compilation option, determine if FCS is to be |
1942 | * appended to transmit frame by IPG. | 1939 | * appended to transmit frame by IPG. |
1943 | */ | 1940 | */ |