In the original driver's dma.c hfi1_dma_map_single just passes the physical address back, so directly use that.
This implements a skeleton setup function and call it on ioctl Many missing points: - missing pci mapping to make setup work - no clear (passed to linux, so will likely bug out) - missing locks/safe-guards Conflicts: kernel/Makefile.build.in