From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Subject: Re: Nvidia cable detection problems (was [PATCH] amd74xx: don't configure udma mode higher than BIOS did) Date: Mon, 5 Feb 2007 19:13:18 +0000 Message-ID: <20070205191318.39f84ced@localhost.localdomain> References: <20070205075836.GG1625@htj.dyndns.org> <20070205112410.5a3c3182@localhost.localdomain> <45C72012.7050605@gmail.com> <20070205132247.6f611e3c@localhost.localdomain> <45C73A3E.6080700@gmail.com> <20070205143439.6962c076@localhost.localdomain> <45C7444F.4070500@gmail.com> <58cb370e0702050709w1b7682dr5dff9e7ce69465a@mail.gmail.com> <20070205181224.3319d6c3@localhost.localdomain> <45C77921.4020808@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:45269 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S933367AbXBETAZ (ORCPT ); Mon, 5 Feb 2007 14:00:25 -0500 In-Reply-To: <45C77921.4020808@gmail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: Allen Martin , Bartlomiej Zolnierkiewicz , linux-ide@vger.kernel.org, linux-kernel > > 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! Alan