Messages in this thread | | | Date | Fri, 18 Jan 2013 17:04:36 +0100 | Subject | Re: request_mem_region() for noPCI devices | From | Geert Uytterhoeven <> |
| |
On Fri, Jan 18, 2013 at 3:46 PM, Michal Simek <monstr@monstr.eu> 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@linux-m68k.org
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
| |