On Thu, 20 Dec 2001, Maciej W. Rozycki wrote:
> On Thu, 20 Dec 2001, Geert Uytterhoeven wrote:
> > > Well, as I stated in another mail (but in another thread, I think) you
> > > may try request_mem_region(virt_to_phys(ioremap(...))), especially as you
> > > really want to reserve an area in the CPU's physical address space and not
> > > in the bus's one.
> > So we must update all existing drivers that use ISA memory space anyway.
> Not many of them calls request_mem_region()... Not that it is good.
> > IMHO still better to add isa_request_mem_region() while we're at it, so we
> > can
> > solve this in an arch-specific way. Ia32 can still say
> > #define isa_request_mem_region request_mem_region
> And then "<bus>_request_mem_region" for every new bus supported???
Yes, you have <bus>_ioremap() anyway, since plain ioremap() is for PCI only.
And then struct busops starts looking like an interesting direction...
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- email@example.com
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