projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d36bb0
)
qla3xxx: convert to SKB paged frag API.
author
Ian Campbell
<Ian.Campbell@citrix.com>
Wed, 31 Aug 2011 00:47:03 +0000
(
00:47
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Sep 2011 19:35:00 +0000
(15:35 -0400)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Ron Mercer <ron.mercer@qlogic.com>
Cc: linux-driver@qlogic.com
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qla3xxx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qlogic/qla3xxx.c
b/drivers/net/ethernet/qlogic/qla3xxx.c
index 8cab61c08c8da9a4084342b7bc2a2a64aead318f..1871d88ee712e3d29c220d50f4e0b2a4b1946350 100644
(file)
--- a/
drivers/net/ethernet/qlogic/qla3xxx.c
+++ b/
drivers/net/ethernet/qlogic/qla3xxx.c
@@
-2388,9
+2388,8
@@
static int ql_send_map(struct ql3_adapter *qdev,
seg++;
}
- map = pci_map_page(qdev->pdev, frag->page,
- frag->page_offset, frag->size,
- PCI_DMA_TODEVICE);
+ map = skb_frag_dma_map(&qdev->pdev->dev, frag, 0, frag->size,
+ PCI_DMA_TODEVICE);
err = pci_dma_mapping_error(qdev->pdev, map);
if (err) {