diff options
Diffstat (limited to 'drivers/atm/idt77252.c')
-rw-r--r-- | drivers/atm/idt77252.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index 1c052127548c..8974bd2b961e 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c | |||
@@ -1258,7 +1258,7 @@ idt77252_rx_raw(struct idt77252_dev *card) | |||
1258 | tail = readl(SAR_REG_RAWCT); | 1258 | tail = readl(SAR_REG_RAWCT); |
1259 | 1259 | ||
1260 | pci_dma_sync_single_for_cpu(card->pcidev, IDT77252_PRV_PADDR(queue), | 1260 | pci_dma_sync_single_for_cpu(card->pcidev, IDT77252_PRV_PADDR(queue), |
1261 | skb_end_pointer(queue) - queue->head - 16, | 1261 | skb_end_offset(queue) - 16, |
1262 | PCI_DMA_FROMDEVICE); | 1262 | PCI_DMA_FROMDEVICE); |
1263 | 1263 | ||
1264 | while (head != tail) { | 1264 | while (head != tail) { |