Re: [PATCH] IDE: don't offer IDE_GENERIC on ia64

From: Maciej W. Rozycki
Date: Fri Aug 12 2005 - 05:33:47 EST


On Thu, 11 Aug 2005, Bjorn Helgaas wrote:

> So the scenario in question (correct me if I'm wrong) is that we
> have a PCI IDE device that is handed off in compatibility mode (and
> may only work in that mode). In that case, the PCI *device* still
> exists, so shouldn't the IDE PCI code claim that device, notice that
> it's in compatibility mode, and use the legacy ports and IRQs if
> necessary?

You may have a look at how we've solved this for MIPS, where we have a
mixture of bus arrangements for different platforms, starting from pure
ISA/EISA ones, ones with PCI and a PCI-(E)ISA bridge, legacy-free PCI ones
and systems with no Intel-style buses at all, like TURBOchannel ones.
See "asm-mips/mach-generic/ide.h" for a simple solution that fits all so
far. I'm not sure whether the most recent version of the file has been
merged upstream -- you may have to have look at:
"http://www.linux-mips.org/cvsweb/linux/include/asm-mips/mach-generic/ide.h";
instead.

Maciej
-
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/