public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Manfred Spraul <manfred@colorfullife.com>, linux-kernel@vger.kernel.org
Subject: Re: Who uses hdx=bswap or hdx=swapdata?
Date: Thu, 3 Jan 2002 22:41:43 +0000	[thread overview]
Message-ID: <20020103224143.D13173@flint.arm.linux.org.uk> (raw)
In-Reply-To: <3C34D6FC.9090207@colorfullife.com> <E16MGPf-0001I3-00@the-village.bc.nu>
In-Reply-To: <E16MGPf-0001I3-00@the-village.bc.nu>; from alan@lxorguk.ukuu.org.uk on Thu, Jan 03, 2002 at 10:32:39PM +0000

On Thu, Jan 03, 2002 at 10:32:39PM +0000, Alan Cox wrote:
> > Is the hdx=bswap or hdx=swapdata option actually in use?
> > When is it needed?
> 
> Certain M68K machines

Is this parameter actually used on these machines, or do we rely on
the code in atapi_{input,output}_bytes:

#if defined(CONFIG_ATARI) || defined(CONFIG_Q40)
        if (MACH_IS_ATARI || MACH_IS_Q40) {
                /* Atari has a byte-swapped IDE interface */
                insw_swapw(IDE_DATA_REG, buffer, bytecount / 2);
                return;
        }
#endif /* CONFIG_ATARI */

and:

#if defined(CONFIG_ATARI) || defined(CONFIG_Q40)
        if (MACH_IS_ATARI || MACH_IS_Q40) {
                /* Atari has a byte-swapped IDE interface */
                outsw_swapw(IDE_DATA_REG, buffer, bytecount / 2);
                return;
        }
#endif /* CONFIG_ATARI */

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


  reply	other threads:[~2002-01-03 22:42 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 [this message]
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
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=20020103224143.D13173@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    /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