Re: Please revert: PCI: fix IDE legacy mode resources

From: Ralf Baechle
Date: Mon Dec 10 2007 - 10:48:18 EST


On Mon, Dec 10, 2007 at 03:01:26PM +0000, Alan Cox wrote:

> > It seems the whole MIPS resource managment is complicated enough (out of
> > necessity) that only a few people actually grok it. Ioports being
> > actually memory mapped on MIPS only makes the confusion worse, sigh.
>
> If the hardware cannot map the low PCI space then set
> CONFIG_NO_ATA_LEGACY and the ATA layer will leave legacy ports alone.
> Unfortunately its not clear we can make that mode try and force
> controllers into native. We could try that if the MIPS and PPC people
> want ?

It sounds like a reasonable thing to try at this stage.

this btw is the lspci -v output for the IDE controller from a recent Cobalt
kernel:

> 0000:00:09.1 IDE interface: VIA Technologies, Inc.
> VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
> (prog-if 8a [Master SecP PriP])
> Flags: bus master, fast Back2Back, medium devsel, latency 64
> I/O ports at 1820 [size=16]

And that's lspci -v -b:

> 0000:00:09.1 IDE interface: VIA Technologies, Inc.
> VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
> (prog-if 8a [Master SecP PriP])
> Flags: bus master, fast Back2Back, medium devsel, latency 64
> I/O ports at 10001820

So the IDE controller already seems to be in native mode?

Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/