[lkml]   [2002]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Who uses hdx=bswap or hdx=swapdata?
On Fri, Jan 04, 2002 at 06:20:11PM +0100, Geert Uytterhoeven wrote:
> On Fri, 4 Jan 2002, Michael Schmitz wrote:
> > > > For 2.5 would it perhaps be cleaner if we had a bswapping loop device. Sort
> > > > of very bad crypto mode ?
> > >
> > > Don't mention crypto, or Atari will come after us with the DMCA sword, claiming
> > > they deliberately implemented access control? ;-)
> >
> > Caution - I recall that on some m68k boxes we had to further byteswap
> > specific parts of the identify data or they wouldn't make sense. The IDE
> > driver will still have to be aware of these exceptions. I can't recall the
> > particulars anymore - Geert?
> That's the drive identification. It indeed shouldn't be swapped once again when
> accessing a `non-native' IDE disk.

sometimes it should, eg some of the ioctls that read data via special
commands from the drive that could also use byteswapping - ide-smart
comes to my mind.

Btw the Q40 has also byteswapped IDE bus like the atari.

We already have atapi_{input|output}_bytes bytes that does the
swapping, and m68k has {ins|outs}[wl]_swapw. Perhaps one of this
could be reused to do the bswap?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:15    [W:0.104 / U:0.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site