Hello. Alan Cox wrote:
Why you chose to use ioread32() and iowrite32() if your device is strictly memory mapped? Those functions add some overhead, and boil down to readl() and
There are distinct portability advantages but you shouldn't mix ioread32/iowrite32 with ioremap as that isn't guaranteed to work.
Hm, pci_iomap() boils down to ioremap(), so
readl/writel does fine and fixes up the driver.
Which brings up another issue with the latest patch: Anton, where do you call ioremap() or something alike to get the virtual address of the registers?
MBR, Sergei - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html