This looks odd. What are we actually doing here?
It seems that we want to map that PCI BAR. Since we're playing with PAGE_MA=
I assume the BAR always has a length <PAGE_SIZE, else we would get page=20
aligned memory anyway. If that's true something like
mem_ptr =3D pci_iomap(pci_dev, bar, 0)
should do the trick. Later we would do
This whole ioremap_ptr stuff can go away at all. Am I right? Then I'll cook=
a patch soon.