Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752639AbXBER7j (ORCPT ); Mon, 5 Feb 2007 12:59:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752640AbXBER7j (ORCPT ); Mon, 5 Feb 2007 12:59:39 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:44888 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752639AbXBER7h (ORCPT ); Mon, 5 Feb 2007 12:59:37 -0500 Date: Mon, 5 Feb 2007 18:12:24 +0000 From: Alan To: "Allen Martin" Cc: "Bartlomiej Zolnierkiewicz" , , "linux-kernel" Subject: Re: Nvidia cable detection problems (was [PATCH] amd74xx: don't configure udma mode higher than BIOS did) Message-ID: <20070205181224.3319d6c3@localhost.localdomain> In-Reply-To: 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> X-Mailer: Claws Mail 2.7.1 (GTK+ 2.10.4; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 853 Lines: 17 > The *real* solution is to use the BIOS ACPI _GTM _STM methods for this. > Then you can remove all chipset specific knowledge from the IDE driver. > This is what the MS driver does on Windows, so you know it's received a > lot of testing from NVIDIA and board vendors. 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) Alan - 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/