linux-mips
[Top] [All Lists]

ide_ops issues for big endian mips

To: <linux-mips@linux-mips.org>
Subject: ide_ops issues for big endian mips
From: "Lyle Bainbridge" <lyle@zevion.com>
Date: Tue, 22 Apr 2003 17:45:29 -0500
Importance: Normal
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
I am using an Au1500 based system in big endian mode.
IDE worked fine with the 2.4.20 kernel, but broke in
the 2.4.21 kernel.  It seems that the 2.4.20 IDE code
provided some IDE operations ide_insw, ide_outsw,
ide_insl and ide_outsl, that didn't use the standard
io.h functions (insw, outsw, insl, outsl) but instead 
provided some special IDE versions that didn't do the
byte swapping done by the standard calls.

This is not true for the 2.4.21 IDE code.  It uses the
standard functions in io.h and these do the byte swapping
and things don't work.  By changing these functions to
not swap, IDE works for me again.

Any thoughts? Anybody else seen this?   Am I doing something
wrong and fixing a symptom not the problem?

Lyle


<Prev in Thread] Current Thread [Next in Thread>