Messages in this thread | | | Date | Fri, 18 Jan 2013 15:46:53 +0100 | Subject | request_mem_region() for noPCI devices | From | Michal Simek <> |
| |
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
| |