Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933472AbXBEV2E (ORCPT ); Mon, 5 Feb 2007 16:28:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933470AbXBEV2E (ORCPT ); Mon, 5 Feb 2007 16:28:04 -0500 Received: from nf-out-0910.google.com ([64.233.182.190]:6738 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933469AbXBEV2B (ORCPT ); Mon, 5 Feb 2007 16:28:01 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aZgZdYDGX5RUOA5pUzM2RylH3fSJMXJZ7ev46OOLVxz3UjyfFIZMqC36iCeaeteOXEjcBhpzp/qYnQL7Yc9UayWIiee4+EMHDkjxpQ3EfmHTZCyX/7hXPk54BDXmePx/lxs7fCxLBnppnp8Sitz5QhhvDeqyhx2dCRCv7E4Etds= Message-ID: <58cb370e0702051327p7b253dafs439c937093ca837d@mail.gmail.com> Date: Mon, 5 Feb 2007 22:27:59 +0100 From: "Bartlomiej Zolnierkiewicz" To: "Tejun Heo" Subject: Re: Nvidia cable detection problems (was [PATCH] amd74xx: don't configure udma mode higher than BIOS did) Cc: Alan , "Allen Martin" , linux-ide@vger.kernel.org, linux-kernel In-Reply-To: <58cb370e0702051055w3c7dcff3wd3e3b4935b910b41@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070205075836.GG1625@htj.dyndns.org> <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> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 26 On 2/5/07, Bartlomiej Zolnierkiewicz 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) > > agreed New look at the issue: Since we are already using UDMA mode set by BIOS to determine if 80c cable is present so why not also use it to determine if the 40c cable is present? I mean just ignoring AMD_CABLE_DETECT register for NVIDIA devices. 2-lines change and we wouldn't have to deal with ACPI at ell. What do you think? Bart - 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/