linux-mips
[Top] [All Lists]

Re: [PATCH] [MIPS] Fixed PCI resource fixup

To: yoichi_yuasa@tripeaks.co.jp
Subject: Re: [PATCH] [MIPS] Fixed PCI resource fixup
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri, 12 Jan 2007 22:54:59 +0900 (JST)
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
In-reply-to: <20070112114618.78d10a3d.yoichi_yuasa@tripeaks.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070111234747.7eed9028.yoichi_yuasa@tripeaks.co.jp> <20070112.004531.132304408.anemo@mba.ocn.ne.jp> <20070112114618.78d10a3d.yoichi_yuasa@tripeaks.co.jp>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 12 Jan 2007 11:46:18 +0900, Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> 
wrote:
> > If io_offset = 0, GT-64120 must be programmed to remap physicall
> > address GT_DEF_PCI0_IO_BASE to PCI IO address 0.  Maybe other GT-64120
> > users have such configuraion?
> 
> GT-64111(used for Cobalt) has no remap register.
> It cannot be programmed to address remap.

Then, inb(0) converted to physical address 0x10000000
(GT_DEF_PCI0_IO_BASE), and on PCI bus it is PCI IO address 0? or
0x10000000?

If PCI IO address was 0, io_offset should be 0.  Otherwise, io_offset
should be -0x10000000, as current code does.

So if it does not work now, something's going wrong... but I have no
idea now.

---
Atsushi Nemoto

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