Re: [BUG] cannot access IO ports in CMI8738 sound chip.

Katsuya MATSUBARA
2008-01-21T08:04:20Z

From: Paul Mundt <lethal@linux-sh.org>
Date: Mon, 21 Jan 2008 16:52:41 +0900

> On Mon, Jan 21, 2008 at 04:39:04PM +0900, Katsuya MATSUBARA wrote:
> > > 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?
> >
> > I did it.
> > Any PCI devices, include an ethernet, cannot be accessed
> > if PCI_AUTO_UPDATE_RESOURCES is disabled.
> >
> And with pci-auto disabled?

Yes, I did. I got the same failure even if PCI_AUTO was disabled.