From: Carsten Langgaard <carstenl@mips.com>
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc: Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
Subject: Re: IDE driver broken in bigendian 2.4.17 kernel
Date: Thu, 17 Jan 2002 14:31:52 +0100 [thread overview]
Message-ID: <3C46D248.931FB659@mips.com> (raw)
In-Reply-To: Pine.GSO.3.96.1020117135554.10407B-100000@delta.ds2.pg.gda.pl
"Maciej W. Rozycki" wrote:
> On Thu, 17 Jan 2002, Carsten Langgaard wrote:
>
> > Due to changes in the string port macros/functions (insl, outsl, insw,
> > ...) the bigendian IDE driver doesn't work anymore.
> > I think we need to have local versions of these functions in
> > include/asm-mips/ide.h, therefore these functions should be macros
> > (#define) and not static functions in include/asm-mips/io.h (in order to
> > redefine them).
>
> I believe the inline functions should be left as they are and the IDE
> driver should use own ones that call the formers and perform byteswapping
> on results as needed. You should avoid the name clash.
>
> Also if that's a chipset-specific issue and not an IDE host adapter's
> one, this should be resolved globally as other devices/drivers may be
> affected.
One could argue that the IDE driver should use it's own special functions
(like ide_insl, etc ...) and not use the generic functions (insl, etc ...).
But all other architectures does it this way, so I'm just trying to follow
the trend.
>
> --
> + Maciej W. Rozycki, Technical University of Gdansk, Poland +
> +--------------------------------------------------------------+
> + e-mail: macro@ds2.pg.gda.pl, PGP key available +
--
_ _ ____ ___ Carsten Langgaard Mailto:carstenl@mips.com
|\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527
| \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555
TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556
Denmark http://www.mips.com
next prev parent reply other threads:[~2002-01-17 14:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-17 11:11 IDE driver broken in bigendian 2.4.17 kernel Carsten Langgaard
2002-01-17 13:04 ` Maciej W. Rozycki
2002-01-17 13:31 ` Carsten Langgaard [this message]
2002-01-17 15:31 ` Maciej W. Rozycki
2002-01-17 20:09 ` Carsten Langgaard
2002-01-18 11:16 ` Maciej W. Rozycki
2002-01-18 10:38 ` 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=3C46D248.931FB659@mips.com \
--to=carstenl@mips.com \
--cc=linux-mips@oss.sgi.com \
--cc=macro@ds2.pg.gda.pl \
--cc=ralf@oss.sgi.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