Skip to contentSkip to conversation

Russell's ioremap patches pushed, please test and update drivers

DISCUSSION Tony Lindgren 1 participant 1 message Sep 5, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,

I've pushed the ioremap patches from Russell. This means drivers need to be converted to use ioremap instead of io_p2v or XXX_IO_ADDRESS.

After Russell's patches, ioremap does not remap areas that already have a static mapping.

Tested on n810, 5912osk and omap3430sdp so far. Please test and update your drivers as needed.

Basically all the drivers should get the physical base address in struct resource, and ioremap it into a virtual address in driver probe. Then driver exit needs to iounmap the area.

Cheers,

Tony