From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH 1/4] libata: ACPI checks for 80wire cable Date: Fri, 27 Jul 2007 16:02:59 -0400 Message-ID: <46AA4F73.1070503@garzik.org> References: <20070726183647.1ee7f2d4@the-village.bc.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from srv5.dvmed.net ([207.36.208.214]:60710 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932948AbXG0UDC (ORCPT ); Fri, 27 Jul 2007 16:03:02 -0400 In-Reply-To: <20070726183647.1ee7f2d4@the-village.bc.nu> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: akpm@osdl.org, linux-ide@vger.kernel.org Alan Cox wrote: > We can use the ACPI mode information with several drivers as a hint to > cable type. If the ACPI mode set by the BIOS is faster than UDMA33 then > we know the BIOS thinks there are 80wire cables. If it doesn't set such a > mode or it has no ACPI method then we get no further information and can > rely on existing approaches > > Introduce the function headers needed. Null it out for non ACPI boxes > > Signed-off-by: Alan Cox I like this patchset. This is the direction we need to be following. Jeff