That seems incredibly cumbersome.
All of those physical bus addresses are remapped using ioremap,
so the arch writel() should do the right thing, given the right address...
It might be nice to add flags to ioremap for bus-specific logic. Right
now magic like the following has to occur on some platforms:
virt = ioremap (phys + ISA_BASE, size)
it would be much cleaner if that changed to
virt = ioremap (phys, size, BUS_PCI)
-
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/