diff options
Diffstat (limited to 'drivers/net/3c59x.c')
-rw-r--r-- | drivers/net/3c59x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index 5f92fdbe66e2..97525307ed27 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
@@ -2129,8 +2129,8 @@ boomerang_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
2129 | int i; | 2129 | int i; |
2130 | 2130 | ||
2131 | vp->tx_ring[entry].frag[0].addr = cpu_to_le32(pci_map_single(VORTEX_PCI(vp), skb->data, | 2131 | vp->tx_ring[entry].frag[0].addr = cpu_to_le32(pci_map_single(VORTEX_PCI(vp), skb->data, |
2132 | skb->len-skb->data_len, PCI_DMA_TODEVICE)); | 2132 | skb_headlen(skb), PCI_DMA_TODEVICE)); |
2133 | vp->tx_ring[entry].frag[0].length = cpu_to_le32(skb->len-skb->data_len); | 2133 | vp->tx_ring[entry].frag[0].length = cpu_to_le32(skb_headlen(skb)); |
2134 | 2134 | ||
2135 | for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) { | 2135 | for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) { |
2136 | skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; | 2136 | skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; |