[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <18417.62252.520797.110925@harpo.it.uu.se>
Date: Tue, 1 Apr 2008 10:32:44 +0200
From: Mikael Pettersson <mikpe@...uu.se>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Michael Schmitz <schmitz@...ragd.biophys.uni-duesseldorf.de>,
Roman Zippel <zippel@...ux-m68k.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
linux-ide@...r.kernel.org,
Linux Kernel Development <linux-kernel@...r.kernel.org>,
Linux/m68k <linux-m68k@...r.kernel.org>,
Michael Schmitz <schmitz@...ian.org>
Subject: Re: [PATCH 5/5] falconide/q40ide: add ->atapi_*put_bytes and
->ata_*put_data methods
Alan Cox writes:
> > 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 ?
I had a brief look at this a little while ago, as I was looking at
the hacks Debian applies to make 2.6.x IDE work on Atari/ARAnym.
As I understood it the problem was some IDENTIFY command which needed
to not byteswap (the hack byteswaps a second time). Can't the driver
inspect the command type and choose whether to swap or not?
I had a grand plan of writing a pata_falconide libata driver, but
ran out of steam :-(
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists