All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Zidlicky  <Richard.Zidlicky@stud.informatik.uni-erlangen.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Michael Schmitz <schmitz@opal.biophys.uni-duesseldorf.de>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Manfred Spraul <manfred@colorfullife.com>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>,
	Linux/m68k <linux-m68k@lists.linux-m68k.org>
Subject: Re: Who uses hdx=bswap or hdx=swapdata?
Date: Fri, 4 Jan 2002 23:51:58 +0100	[thread overview]
Message-ID: <20020104235157.A1927@linux-m68k.org> (raw)
In-Reply-To: <Pine.LNX.4.33.0201041751360.5790-100000@opal.biophys.uni-duesseldorf.de> <Pine.GSO.4.21.0201041818580.12102-100000@vervain.sonytel.be>
In-Reply-To: <Pine.GSO.4.21.0201041818580.12102-100000@vervain.sonytel.be>; from geert@linux-m68k.org on Fri, Jan 04, 2002 at 06:20:11PM +0100

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?

Bye
Richard

  reply	other threads:[~2002-01-04 23:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-03 22:11 Who uses hdx=bswap or hdx=swapdata? Manfred Spraul
2002-01-03 22:17 ` Cort Dougan
2002-01-03 22:32 ` Alan Cox
2002-01-03 22:41   ` Russell King
2002-01-04  9:09   ` Geert Uytterhoeven
2002-01-04  9:31     ` Chris Lawrence
2002-01-04 10:37     ` Alan Cox
2002-01-04 10:56       ` Geert Uytterhoeven
2002-01-04 17:15         ` Michael Schmitz
2002-01-04 17:20           ` Geert Uytterhoeven
2002-01-04 22:51             ` Richard Zidlicky [this message]
2002-01-04 18:43           ` Bernd Eckenfels
2002-01-12 22:40       ` Manfred Spraul
2002-01-13 11:19         ` Geert Uytterhoeven

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=20020104235157.A1927@linux-m68k.org \
    --to=richard.zidlicky@stud.informatik.uni-erlangen.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=manfred@colorfullife.com \
    --cc=schmitz@opal.biophys.uni-duesseldorf.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.