Re: Nvidia cable detection problems (was [PATCH] amd74xx: don't configureudma mode higher than BIOS did)

From: Jeff Garzik
Date: Mon Feb 05 2007 - 16:43:54 EST


Alan wrote:
Well we can certainly do some of that if ACPI is present and active. In
particular since _GTM will give us current modes allowing for hotplug and
post BIOS boot kexec etc it ought to be safe to do Tejun's hack that way.
We could even probe UDMA3+ capable devices by doing _STM to a high mode
and _GTM to determine the cable type 8)
Glad to see the problem getting solved. Now that we know the solution,
any volunteers? :-)

I am currently putting together an experimental pata_acpi driver to play
with this stuff. May take a bit of time while I work out the current acpi
interface gunge and how to expand it.

The fact we have to try each mode to see what we can set doesn't make it
pretty either!

Make sure you take a look at libata-dev.git#acpi which is the origin of the libata ACPI support found in -mm

That's pending for an upstream merge.

Jeff



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