From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Mon, 21 Jan 2008 06:41:57 +0000 Subject: Re: [BUG] cannot access IO ports in CMI8738 sound chip. Message-Id: <20080121064157.GB31245@linux-sh.org> List-Id: References: <20080121.152550.68560038.matsu@igel.co.jp> In-Reply-To: <20080121.152550.68560038.matsu@igel.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org On Mon, Jan 21, 2008 at 03:25:50PM +0900, Katsuya MATSUBARA wrote: > Unfortunately CMI8738 cannot treat (large) memory addresses > as IO port numers because some upper bits of 'Base Address > Register 0' in the PCI configuration space cannot be updated. > (pcibios_setup_bars() in arch/sh/drivers/pci/pci-auto.c > updates the register with the memory address.) > > How should I fix the problem? Disable PCI_AUTO_UPDATE_RESOURCES like the dreamcast does? It's a reasonable workaround for PCI-like host controllers that don't "quite" comply with the PCI specification.