equal
deleted
inserted
replaced
1777 { |
1777 { |
1778 struct rtl8139_private *tp = netdev_priv(dev); |
1778 struct rtl8139_private *tp = netdev_priv(dev); |
1779 void __iomem *ioaddr = tp->mmio_addr; |
1779 void __iomem *ioaddr = tp->mmio_addr; |
1780 unsigned int entry; |
1780 unsigned int entry; |
1781 unsigned int len = skb->len; |
1781 unsigned int len = skb->len; |
1782 unsigned long flags; |
1782 unsigned long flags = 0; |
1783 |
1783 |
1784 /* Calculate the next Tx descriptor entry. */ |
1784 /* Calculate the next Tx descriptor entry. */ |
1785 entry = tp->cur_tx % NUM_TX_DESC; |
1785 entry = tp->cur_tx % NUM_TX_DESC; |
1786 |
1786 |
1787 /* Note: the chip doesn't have auto-pad! */ |
1787 /* Note: the chip doesn't have auto-pad! */ |