Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933332AbXBETQK (ORCPT ); Mon, 5 Feb 2007 14:16:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933342AbXBETQJ (ORCPT ); Mon, 5 Feb 2007 14:16:09 -0500 Received: from an-out-0708.google.com ([209.85.132.250]:17563 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933348AbXBETQH (ORCPT ); Mon, 5 Feb 2007 14:16:07 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=ENSbtKXqxC0rKykYbs2J3P5cG0fCjzxzDAp3y8dOoR4YHwAzL3LteqU5RkldI1D68nhNtG6RQn0gP55kOUcN++SYusRdF9z6grftlZzpBpIT8/QNC02dfqMvafHh7E5tIlIOA7uzNTDTmI9w7apylvYdRUYFMCEqkG+q6hNveG8= Message-ID: <45C7826B.80707@gmail.com> Date: Tue, 06 Feb 2007 04:15:55 +0900 From: Tejun Heo User-Agent: Icedove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Bartlomiej Zolnierkiewicz CC: Alan , Allen Martin , linux-ide@vger.kernel.org, linux-kernel Subject: Re: Nvidia cable detection problems (was [PATCH] amd74xx: don't configure udma mode higher than BIOS did) References: <20070205075836.GG1625@htj.dyndns.org> <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> <58cb370e0702051055w3c7dcff3wd3e3b4935b910b41@mail.gmail.com> In-Reply-To: <58cb370e0702051055w3c7dcff3wd3e3b4935b910b41@mail.gmail.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1438 Lines: 45 Bartlomiej Zolnierkiewicz wrote: > Hi, > > On 2/5/07, Tejun Heo wrote: >> Alan wrote: >> >> 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. > > Allen, thanks for quick reply. > > Your mail explained the issue pretty well and saved us a lot of time. My thanks too. >> > 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) > > agreed > >> Glad to see the problem getting solved. Now that we know the solution, >> any volunteers? :-) > > Well, since you posted the initial patches and have the affected > hardware... 8) I'll be on the road for the next two weeks and Alan seems to have taken it already. :-) -- tejun - 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/