From: Mikael Pettersson <mikpe@it.uu.se>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Michael Schmitz <schmitz@smaragd.biophys.uni-duesseldorf.de>,
Roman Zippel <zippel@linux-m68k.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
linux-ide@vger.kernel.org,
Linux Kernel Development <linux-kernel@vger.kernel.org>,
Linux/m68k <linux-m68k@vger.kernel.org>,
Michael Schmitz <schmitz@debian.org>
Subject: Re: [PATCH 5/5] falconide/q40ide: add ->atapi_*put_bytes and ->ata_*put_data methods
Date: Tue, 1 Apr 2008 10:32:44 +0200 [thread overview]
Message-ID: <18417.62252.520797.110925@harpo.it.uu.se> (raw)
In-Reply-To: <20080401091240.420b3aeb@core>
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 :-(
next prev parent reply other threads:[~2008-04-01 8:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-31 21:41 Roman Zippel
2008-03-31 21:43 ` Alan Cox
2008-03-31 22:02 ` Roman Zippel
2008-04-01 3:20 ` Michael Schmitz
2008-04-01 8:12 ` Alan Cox
2008-04-01 8:32 ` Mikael Pettersson [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-03-30 15:14 Bartlomiej Zolnierkiewicz
2008-03-30 18:18 ` Geert Uytterhoeven
2008-03-30 19:34 ` Bartlomiej Zolnierkiewicz
2008-03-31 5:53 ` Geert Uytterhoeven
2008-03-31 6:04 ` Geert Uytterhoeven
2008-03-31 9:37 ` Alan Cox
2008-04-07 19:13 ` Bartlomiej Zolnierkiewicz
2008-04-08 9:40 ` Richard Zidlicky
2008-04-09 1:40 ` Michael Schmitz
2008-04-09 18:13 ` Richard Zidlicky
2008-04-09 18:49 ` Bartlomiej Zolnierkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18417.62252.520797.110925@harpo.it.uu.se \
--to=mikpe@it.uu.se \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bzolnier@gmail.com \
--cc=geert@linux-m68k.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=schmitz@debian.org \
--cc=schmitz@smaragd.biophys.uni-duesseldorf.de \
--cc=zippel@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®