devices/8139too-2.6.32-ethercat.c
branchredundancy
changeset 2137 bb9af8815750
parent 2075 876b2482608e
child 2421 bc2d4bf9cbe5
equal deleted inserted replaced
2136:729df853b3fb 2137:bb9af8815750
  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! */