I am going through the kernel source documentation at this link
http://lwn.net/2001/0712/a/dma-interface.php3. It mentions that pci_map_single can be used for only single transfer. I am writing a PCI driver and device writes to buffer 4KB data at every 500 us . After that it will give an interrupt. I tried to work with pci_alloc_consistent but it is constantly producing error stating "coherent DMA mask is smaller than system GFP_DMA mask arm". My question is how can I use pci_map_single for multiple dma transfers