ar71xx: use AR8327 on the DB120 board
[openwrt.git] / target / linux / generic / files / crypto / ocf / hifn / hifn7751.c
index 4803a83..b7df819 100644 (file)
@@ -241,7 +241,7 @@ pci_map_skb(struct hifn_softc *sc,struct hifn_operand *buf,struct sk_buff *skb)
        for (i = 0; i < skb_shinfo(skb)->nr_frags; ) {
                buf->segs[buf->nsegs].ds_len = skb_shinfo(skb)->frags[i].size;
                buf->segs[buf->nsegs].ds_addr = pci_map_single(sc->sc_pcidev,
        for (i = 0; i < skb_shinfo(skb)->nr_frags; ) {
                buf->segs[buf->nsegs].ds_len = skb_shinfo(skb)->frags[i].size;
                buf->segs[buf->nsegs].ds_addr = pci_map_single(sc->sc_pcidev,
-                               page_address(skb_shinfo(skb)->frags[i].page) +
+                               page_address(skb_frag_page(&skb_shinfo(skb)->frags[i])) +
                                        skb_shinfo(skb)->frags[i].page_offset,
                                buf->segs[buf->nsegs].ds_len, PCI_DMA_BIDIRECTIONAL);
                buf->mapsize += buf->segs[buf->nsegs].ds_len;
                                        skb_shinfo(skb)->frags[i].page_offset,
                                buf->segs[buf->nsegs].ds_len, PCI_DMA_BIDIRECTIONAL);
                buf->mapsize += buf->segs[buf->nsegs].ds_len;
This page took 0.022763 seconds and 4 git commands to generate.