Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266152
b: refs/heads/master
c: ea96877
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Sep 22, 2011
1 parent de0de6e commit 9944b4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4811086b733cd9988fb17ad471357bdd5a37a01
refs/heads/master: ea968771d4c86ba42f84c7f472d9abe4c60c77f5
7 changes: 4 additions & 3 deletions trunk/drivers/net/ethernet/tundra/tsi108_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,10 @@ static int tsi108_send_packet(struct sk_buff * skb, struct net_device *dev)
} else {
skb_frag_t *frag = &skb_shinfo(skb)->frags[i - 1];

data->txring[tx].buf0 =
dma_map_page(NULL, frag->page, frag->page_offset,
frag->size, DMA_TO_DEVICE);
data->txring[tx].buf0 = skb_frag_dma_map(NULL, frag,
0,
frag->size,
DMA_TO_DEVICE);
data->txring[tx].len = frag->size;
}

Expand Down

0 comments on commit 9944b4d

Please sign in to comment.