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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|