linux-mips
[Top] [All Lists]

Re: [PATCH] ide: New libata driver for OCTEON SOC Compact Flash interfac

To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Subject: Re: [PATCH] ide: New libata driver for OCTEON SOC Compact Flash interface.
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri, 21 Nov 2008 18:12:05 +0000
Cc: David Daney <ddaney@caviumnetworks.com>, linux-ide@vger.kernel.org, linux-mips <linux-mips@linux-mips.org>
In-reply-to: <4926F1EB.8090506@ru.mvista.com>
Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <49261BE5.2010406@caviumnetworks.com> <4926F1EB.8090506@ru.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
>     About the 8-bit mode: you need to issue the Set Features command with 
> opcode 1 to enable that mode -- libata currently doesn't do that, so it won't 
> work I suppose...

That depends on the hardware interface. I have worked with at least one
board that is 8bit to the CPU for data transfers and 16bit to the disk.
Also Set Features 8bit is strictly for TrueIDE mode (see CF 4.0 spec pg
150).

Alan

<Prev in Thread] Current Thread [Next in Thread>