request_mem_region() for noPCI devices

From: Michal Simek
Date: Fri Jan 18 2013 - 09:46:40 EST


Hi guys,

just want to check with you usage of request_mem_region for noPCI devices.
kernel/resource.c suggests that it should be used just for PCI iomem
(iomem_resource uses name PCI mem).

If I grep architectures I see several usage for noPCI devices.

Does it mean that request_mem_region should be used for all devices
which request io memory? Or just for PCI iomem?

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/