linux-mips
[Top] [All Lists]

Re: ISA

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: ISA
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu, 20 Dec 2001 14:45:53 +0100 (MET)
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, Jun Sun <jsun@mvista.com>, jim@jtan.com, Linux/MIPS Development <linux-mips@oss.sgi.com>
In-reply-to: <Pine.GSO.3.96.1011220143454.3556C-100000@delta.ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
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...

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


<Prev in Thread] Current Thread [Next in Thread>