On Wed, 23 Jan 2008 16:38:06 +0300 Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> wrote: > 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 For most cases on existing hardware. Do not rely on that in future. Alan - 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