From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756315AbYDAIOV (ORCPT ); Tue, 1 Apr 2008 04:14:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752869AbYDAIOF (ORCPT ); Tue, 1 Apr 2008 04:14:05 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:59142 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752437AbYDAIOB (ORCPT ); Tue, 1 Apr 2008 04:14:01 -0400 Date: Tue, 1 Apr 2008 09:12:40 +0100 From: Alan Cox To: Michael Schmitz Cc: Roman Zippel , Geert Uytterhoeven , Bartlomiej Zolnierkiewicz , linux-ide@vger.kernel.org, Linux Kernel Development , Linux/m68k , Michael Schmitz Subject: Re: [PATCH 5/5] falconide/q40ide: add ->atapi_*put_bytes and ->ata_*put_data methods Message-ID: <20080401091240.420b3aeb@core> In-Reply-To: References: <20080331224318.4768c050@core> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Sorry for the mess in core code - ist there any other way for only driveid > and packet data getting swapped? And can we actually use the device mapper > to byte-swap the root partition? Device Mapper can certainly support that if needed - I don't think it has a swab target currently but byteswapped is just a very bad crypto algorithm so you can use dm crypt target as a reference. Might not be a bad idea just to make the media shareable. The only other way I can see to do it would be to split the ATA transfer functions into two sets one for media data and one for other stuff - but then how do you handle iso9660 cd ? Alan