]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ipg.c
ipg: fix Tx completion irq request
[linux-2.6-omap-h63xx.git] / drivers / net / ipg.c
index b234b293c11ff54df1c3edd3e3522517e27054a7..50f0c17451b10cccbafbb77d7c03bc55d9a70f91 100644 (file)
@@ -1934,10 +1934,7 @@ static int ipg_nic_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
         */
        if (sp->tenmbpsmode)
                txfd->tfc |= cpu_to_le64(IPG_TFC_TXINDICATE);
-       else if (!((sp->tx_current - sp->tx_dirty + 1) >
-           IPG_FRAMESBETWEENTXDMACOMPLETES)) {
-               txfd->tfc |= cpu_to_le64(IPG_TFC_TXDMAINDICATE);
-       }
+       txfd->tfc |= cpu_to_le64(IPG_TFC_TXDMAINDICATE);
        /* Based on compilation option, determine if FCS is to be
         * appended to transmit frame by IPG.
         */