linux-mips
[Top] [All Lists]

Re: lift the ioport_resource limit ...

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: lift the ioport_resource limit ...
From: Jun Sun <jsun@mvista.com>
Date: Wed, 09 May 2001 14:06:59 -0700
Cc: linux-mips@oss.sgi.com
References: <3AF97FD0.7F382E49@mvista.com> <20010509162608.C2466@bacchus.dhis.org>
Sender: owner-linux-mips@oss.sgi.com
Ralf Baechle wrote:
> 
> On Wed, May 09, 2001 at 10:35:12AM -0700, Jun Sun wrote:
> 
> > Currently IO_SPACE_LIMIT is 0xffff, which is probably borrowed from the 
> > legacy
> > i386 code.  Let us remove that limit, so that each machine does not have to
> > laboriously reset it.
> 
> ISA?
> 
>    Ralf

ISA bus?

The PCI IO space essentially extends the ISA bus, which effectively removes
the 0xffff limits.

If you are really paranoid, we can do something like this:

#if defined(CONFIG_ISA) && !defined(CONFIG_PCI)
#define IO_SPACE_LIMIT 0xffff
#else
#define IO_SPACE_LIMIT 0xffffffff
#endif


Jun

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