lkml.org 
[lkml]   [2005]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] IDE: don't offer IDE_GENERIC on ia64
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-12 12:35    [W:0.064 / U:1.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site