From: Alan Cox Subject: Re: libata-acpi: allow _GTF on SATA, but disable on PATA for now Date: Mon, 12 Mar 2007 22:00:15 +0000 Message-ID: <20070312220015.094b7759@lxorguk.ukuu.org.uk> References: <200703100559.l2A5x6kP017578@hera.kernel.org> <45F296B9.7000005@garzik.org> <20070310164059.4ba68bcc@lxorguk.ukuu.org.uk> <20070312095528.3dd7a693.kristen.c.accardi@intel.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]:40780 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752917AbXCLU5e (ORCPT ); Mon, 12 Mar 2007 16:57:34 -0400 In-Reply-To: <20070312095528.3dd7a693.kristen.c.accardi@intel.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Kristen Carlson Accardi Cc: Jeff Garzik , len.brown@intel.com, Linux Kernel Mailing List , IDE/ATA development list , Andrew Morton , Linus Torvalds > Meanwhile, to solve the problem for these people, and without introducing > a lot of new code at this stage in the release, perhaps you can suggest > a more accurate way to detect PATA vs. SATA so we can fix the bug? I think the problem starts with the question. It supposes the BIOS knows the answer to the question in the first place. It also supposes we haven't reconfigured the port in some cases I believe. My guess is the problem needs approaching from the other end. Ask the question "What does the ACPI BIOS expect it to be ?". If I follow the spec correctly we can answer that question by asking what methods (_SDD, _GTF etc) it provides. I don't think anything else is reliable. Alan