Re: request_mem_region() for noPCI devices

From: Geert Uytterhoeven
Date: Fri Jan 18 2013 - 11:04:23 EST


On Fri, Jan 18, 2013 at 3:46 PM, Michal Simek <monstr@xxxxxxxxx> wrote:
> 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?

It's meant for all types of memory mapped I/O.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/