Am 09.09.2012 14:52, schrieb Peter Hüwe: > Am Sonntag, 9. September 2012, 14:23:06 schrieb Richard Weinberger: >> UML does not have IO_MEM but some sub-systems have "depend HAS_IOMEM" which >> is often too coarse grained. >> To deal with that I've introduced GENERIC_IO some time ago to support MTD >> (and nandsim) on UML. >> Maybe some parts of the I2C sub-system can also just depend on GENERIC_IO >> instead of HAS_IOMEM. >> An arch has GENERIC_IO=y if it supports everything defined in >> generic-asm/io.h which is more than enough for most stub drivers. > > The only thing which seems to be missing on UML is the ioremap function family > ;/ BTW: What about io_remap_pfn_range()? Thanks, //richard