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:
01c6802
)
et131x: convert to SKB paged frag API.
author
Ian Campbell
<
[email protected]
>
Wed, 5 Oct 2011 00:28:48 +0000
(
00:28
+0000)
committer
David S. Miller
<
[email protected]
>
Wed, 5 Oct 2011 21:36:00 +0000
(17:36 -0400)
Signed-off-by: Ian Campbell <
[email protected]
>
Acked-by: Greg Kroah-Hartman <
[email protected]
>
Cc: Mark Einon <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Signed-off-by: David S. Miller <
[email protected]
>
drivers/staging/et131x/et1310_tx.c
patch
|
blob
|
history
diff --git
a/drivers/staging/et131x/et1310_tx.c
b/drivers/staging/et131x/et1310_tx.c
index 8fb3051fe28836c72559d570680382eddbf566c1..03e7a4ea510de81d975b8991127cee122da5e995 100644
(file)
--- a/
drivers/staging/et131x/et1310_tx.c
+++ b/
drivers/staging/et131x/et1310_tx.c
@@
-519,12
+519,12
@@
static int nic_send_packet(struct et131x_adapter *etdev, struct tcb *tcb)
* returned by pci_map_page() is always 32-bit
* addressable (as defined by the pci/dma subsystem)
*/
- desc[frag++].addr_lo =
-
pci_map_page(etdev->p
dev,
-
frags[i - 1].page
,
-
frags[i - 1].page_offset
,
- frags[i - 1].size,
- PCI_DMA_TODEVICE);
+ desc[frag++].addr_lo =
skb_frag_dma_map(
+
&etdev->pdev->
dev,
+
&frags[i - 1]
,
+
0
,
+
frags[i - 1].size,
+
PCI_DMA_TODEVICE);
}
}