Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 26 May 2009 08:55:59 +0100 (BST) Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:46109 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by ftp.linux-mips.org with ESMTP id S20023502AbZEZHzu (ORCPT ); Tue, 26 May 2009 08:55:50 +0100 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by www.etchedpixels.co.uk (8.14.3/8.14.3) with ESMTP id n4Q7u5bu030488; Tue, 26 May 2009 08:56:16 +0100 Date: Tue, 26 May 2009 08:56:05 +0100 From: Alan Cox To: yanh@lemote.com Cc: "Martin K. Petersen" , Sergei Shtylyov , Bartlomiej Zolnierkiewicz , =?UTF-8?B?6IOh5rSq5YW1?= , wuzhangjin@gmail.com, linux-mips@linux-mips.org, Ralf Baechle , IDE/ATA development list , Linux Kernel , linux-scsi , Philippe Vachon , Zhang Le , Zhang Fuxin , Arnaud Patard , loongson-dev@googlegroups.com, gnewsense-dev@nongnu.org, Nicholas Mc Guire , Liu Junliang , Erwan Lerale Subject: Re: [loongson-PATCH-v1 24/27] fixup for FUJITSU disk Message-ID: <20090526085605.014d0087@lxorguk.ukuu.org.uk> In-Reply-To: <1243300890.9819.40.camel@localhost.localdomain> References: <1243230339.9819.18.camel@localhost.localdomain> <4A1A4A54.6090401@lemote.com> <200905251656.25357.bzolnier@gmail.com> <4A1AEBF7.7040402@ru.mvista.com> <1243300890.9819.40.camel@localhost.localdomain> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 22967 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: alan@lxorguk.ukuu.org.uk Precedence: bulk X-list: linux-mips > > In any case I have yet to see a CS5536 system whose BIOS sets the cable > > detection bit. If that's the problem I guess we could add a quirk flag > > to override the (lack of) BIOS setting. > > > This may be the cause that udma5 cannot be set. If the system doesn't have working BIOS cable detect as per the documentation for the chip then just return the "unknown" cable type and libata will do device side cable detect. Alan