> > I see that it would be useful for ISA devices, but for PCI we can do this
> > easily without using ioremap_io() if we just translate the I/O addresses
> > read from the device before passing them to the driver. I'm not sure whether
> > this is worth the effort or not as I know of no PCI device where I/O
> > accesses would be time critical.
> Should not we do it symmetric with MMIO access?
Unfortunately, we have zillions of ISA card drivers which access I/O ports
in the old way and unless we can gain anything more than symmetry, is probably
isn't wise to convert all of them to ioremap_io().
Have a nice fortnight
-- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "Dijkstra probably hates me." -- /usr/src/linux/kernel/sched.c- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/